LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MySQL in slackware 9.1 (https://www.linuxquestions.org/questions/linux-software-2/mysql-in-slackware-9-1-a-144798/)

upset 02-11-2004 08:24 AM

MySQL in slackware 9.1
 
:newbie:

Slackware 9.1, full instalation.

email, web and mysql server activated at finish.

At first until now, always the same error:

Quote:

root@hostname:/# mysql
ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
when system boots, mysql starts... but at first login in runlevel 3 i get the message:

Mysql Ended.

I 've been reading many hours, many procedures, but i can't start MySQL server.

I'm desperate. :(

what can i doing bad? :cry:

upset 02-11-2004 07:24 PM

Many hours later...


(as root)
su - mysql
mysql_install_db
exit
chown -R mysql.mysql /var/lib/mysql
mysqld_safe
mysql


wow !!! It works at least.


All times are GMT -5. The time now is 06:08 AM.