mysql start problems.
I installed Slackware 10.1 and didn't do anything to mysql. When I ran /etc/rc.d/rc.mysql | start , I received this message
Code:
root@Suzzy:~# Starting mysqld daemon with databases from /var/lib/mysql |
You need to switch to root using the "su" command, then switch to the "mysql" user using the same command then run "mysql_install_db".
|
I quess the typos were just typos, and you actualy meant:
/etc/rc.d/rc.mysqld start ? Anyways, It seems something goes wrong with the startup.. (doh) You realy should set a root password fpr mysqld before using it.. After that, it worked for me just great. Another thing, I did a few tests, and I get the exactly same output that you had if I allready have mysqld running and attempt to start it again.. So, make sure it isnt running allready.. (; |
Yeah I stopped it and tried starting it and that's what I got.
How do I switch to the user mysql while as root? |
#su mysql
|
Okay ran the mysql_install_db but I still am unable to start it. :(
|
Well, thats usually how I get it to work. Maybe do a google search and you may get some other helpful tips.
|
Alright well I still have this problem and I really need to get it resolved becuase I'm starting to learn PHP and such.
I did a tail -f /var/lib/msyql/Suzzy.err and I received Code:
050227 20:41:55 mysqld started |
All times are GMT -5. The time now is 11:10 PM. |