Problem installing MySQL on suse 10.3
This is now the 3rd time I have wiped out and done a clean install of suse and keep running into the same poroblem when trying to install mysql.
I get as far as inputting the admin. pass once i try to add the admin pass I get the following error:
mysqladmin -u root password *******
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
As far as I know mysql is running as it has been stopped then restarted with no errors. I also have checked to see if the mysql.sock file is in the directory in which it is not. Here Is what is in the directory:
svr1:~ # cd /var/lib/mysql
svr1:/var/lib/mysql # dir
drwx------ 2 mysql mysql 4096 Apr 10 09:58 .protected
-rw-r--r-- 1 mysql mysql 0 Apr 15 12:51 .run-mysql_upgrade
drwxr-xr-x 2 mysql mysql 4096 Apr 10 09:58 .tmp
-rw-rw---- 1 mysql mysql 5242880 Apr 15 12:42 ib_logfile0
-rw-rw---- 1 mysql mysql 5242880 Apr 15 12:41 ib_logfile1
-rw-rw---- 1 mysql mysql 10485760 Apr 15 12:42 ibdata1
drwx------ 2 mysql mysql 4096 Apr 15 12:41 mysql
-rw-rw---- 1 mysql mysql 1041 Apr 15 12:41 mysqld.log
drwx------ 2 mysql mysql 4096 Apr 15 12:40 test
I have noticed searching through the various sites that there seems to be quite a few people with the same problem, I just could not find a clear solution to the problem any help would be appreciated. Without this being resolved I can not continue my installation.
Last edited by Txchaser; 15th April 2008 at 19:38.