TheMatrix
June 7th, 2011, 05:34 PM
Right, so I've decided to ditch my XAMPP installation. It kept screwing up. Instead, I downloaded the LAMP bundle available from YaST. The web server part works fine, but the MySQL doesn't. I've searched time and time again, but can't find anything. It keeps saying that it can't connect from the socket or even from some kind of .pid thing
Here's what it says:
the-matrix:/var/lib/mysql/mysql # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
the-matrix:/var/lib/mysql/mysql # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory
failed
I've tried everything, manually creating the socket file, searching for all of that, but the problem still persists, no matter what I do.
I found in the /etc/my.cnf the location of the socket(where it's supposed to be), and thought that maybe it is possible to use a TCP/IP thing instead?
Thanx.
Here's what it says:
the-matrix:/var/lib/mysql/mysql # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
the-matrix:/var/lib/mysql/mysql # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory
failed
I've tried everything, manually creating the socket file, searching for all of that, but the problem still persists, no matter what I do.
I found in the /etc/my.cnf the location of the socket(where it's supposed to be), and thought that maybe it is possible to use a TCP/IP thing instead?
Thanx.