Starting MySQL automatically on Slackware 10 on system startup
How do you run MySQL on Slackware 10 on system startup? I already changed permissions for rc.mysqld to 755. Also, I ran mysql_install_db. On system startup, I get the following error message:
STOPPING server from pid file /var/run/mysql/mysql.pid |
If you have not done the initial setup of MySQL like this (or with sudo, your choice):
Code:
su - If you did not do as above, and you do not have any data bases in /var/lib/mysql, you can remove that directory, run mysql_install_db as shown and you'll probably be OK. You can manually start the MySQL daemon with: Code:
su - |
Since MySQL could not write to /var/run/mysql, I changed its ownership.
chown -R mysql /var/lib/mysql Then, I re-ran mysql_install_db. |
All times are GMT -5. The time now is 04:47 PM. |