On Sunday 10 April 2005 12:53 pm, Terje J. Hanssen wrote:
What I have tried is the following two steps:
1) I wish automatically start of MySQL at bootup, and created a symbolic link according to the /usr/share/doc/packages/mysql/README.SuSE:
# /sbin/insserv /etc/init.d/mysql I rebooted but I'm not sure MySQL started as it should
Try rcmysql status to see if it is up and running.
2) According to eZ publish's first installation procedure, I tried to login as root (to create a database next), but got the following error:
# mysql -u root -p
Enter password: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) What can be wrong here? Has e.g MySQL's internal database (mysql) been set up is it should during the installation? Is there any users set up and possibly is there already a default root password?
Sounds like it is not running. It installs with no root password, so unless you changed it, you should be able to simply type #mysql as root and access the db. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.8-24.14-default x86_64