mysql weird error in 12.1

hey guys,

I get a weird error when I try to run mysql for the first time


linux-h6kn:/home/harvested # mysql -hlocalhost -uroot -pas
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (111)

even if the file exists and it’s empty it still can’t connect to the mysql server
i’ve chect /etc/my.cnf and skip-networking is commented…
i’ve read…countless forums for the last…4-5 hours and I still couldn’t find a solution…

thanks,
Andrei

Yast - System - runlevel editor. Activate mysqld to start.

hey,
thanks for the info
unfortunately i got this error


/etc/init.d/mysql start returned 1 (unspecified error):

harvested wrote:
> hey,
> thanks for the info
> unfortunately i got this error
>
> Code:
> --------------------
>
> /etc/init.d/mysql start returned 1 (unspecified error):
>
> --------------------

so what is in the log?

ok, I’ve managed to solve the problem
so, mym mistake was…after I zypper-ed in mysql I’ve run

mysql_install_db

which I shouldn’t
the proper way is to install mysql and then

service mysql start

which starts the server and the connect to it…using the client…
I’ve removed the server and installed it again…and now it works fine…