[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] MySQL not allowing "--skip-grant-tables" as root!



"Correllia Fuengabe" <corras4@xxxxxxxxx> wrote:
> [root admin]# /usr/sbin/mysqld --skip-grant-tables
> Fatal error: Please read "Security" section of the
> manual to find out how to run mysqld as root!
> 020502  3:10:35  Aborting
>
> 020502  3:10:35  /usr/sbin/mysqld: Shutdown Complete

Correillia, it's probably because MySQL on your server is setup to run as a
user other than root, probably mysql.  You need to do this first:

su - mysql

Or if it's setup to run as a different user, replace "mysql" with that
username.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/