Don't stare too long at the Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) , it will blind you after a couple of minutes ;p Seriously, the fact that the sock file is not there simply tells me that mysql is not running, ie, even if you could "copy" a mysql.sock file to that location, your problems would still be there. the sock file is created by mysql when it starts up. You should first run the mysql_install_db script, then start mysql, then set the password. mysqladmin won't run either if mysql daemon is not running.
what I suggest you do is to check that mysql is set to start in runlevels 3 to 5 in your init scripts, then reboot the machine and see if suse will have better luck in starting mysql. You can't do anything before mysql is not running. Also, check to see in your my.cnf file that all the values listed there makes sense for your system. On Wed, 2003-07-30 at 15:04, D. K. wrote: > > Petre; > My installation is coming with suse.I ran mysql_install_db and after that i tried > setting root passwd as you > see below,and i got foollowing errors. I had checked mentioned socket under > /var/lib/mysql -mysql.sock- > before and it doesnt exist. Blame me for not reporting it before. > Thank you for kind help. > Devrim > > > linux:/usr/bin # mysqladmin -u root password 'devrim' > 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! > > > > ______________________________________________________________________________ > Wo gibt es den besten Spam-Schutz? Laut ComputerBild 15-03 bei > WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021122 > -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]