I’m setting up a lamp server on my android phone, and i didn’t managed to get mysql working with the default settings. i had to change the user to root in the my.cnf.
So i’m curious about the dangers of running mysql under the root user.
I’m setting up a lamp server on my android phone, and i didn’t managed
Share
running MySQL as root, means everything the server does is also done as root (obvious). Especially if you happen to make a mistake, this can cause problems:
/etc/passwd, then that important file will probably be overwritten (a normal user cant do that).