thready
asked on
mysqld can't start as root (linux)
Hi Experts,
I'm running funplug on a NAS drive and want to setup mysqld on it. I've got it going pretty far, but now when I try to start up with 'mysqld restart' I get the following error:
Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
fine. I've got no server running and so I can't create more mysql users. So how can I get this going from the command line without using mysql? (chicken & egg?)
Thanks,
Mike
I'm running funplug on a NAS drive and want to setup mysqld on it. I've got it going pretty far, but now when I try to start up with 'mysqld restart' I get the following error:
Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
fine. I've got no server running and so I can't create more mysql users. So how can I get this going from the command line without using mysql? (chicken & egg?)
Thanks,
Mike
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You should have a file called rc.mysqld somewhere under /etc/rc.d. If you cd to the directory containing it, you can issue commands like ./rc.mysqld start, ./rc.mysqld stop and so on.
ASKER
crap so sorry- i accepted this just as i got your answers.... i got it working... THanks for your responses!
Open in new window
Now you can start mysqld from the root command line with one of the followingOpen in new window
Use --skip-networking if you only want to use the Unix socket. The instructions assume you originally installed the database using the command mysql_install_db --user=mysql