Re: phpMyAdmin install error

From: Date: Wed, 22 Aug 2001 16:07:23 +0000
Subject: Re: phpMyAdmin install error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-63922@lists.php.net to get a copy of this message
At 11:58 AM 8/22/2001, Jay Paulson wrote: the socket has to be made by the mysql deamon. Read the mysql docs on mysql.org search for mysql.sock. mysql will not work if that files is deleted....if you run redhat or other distros make sure that /tmp and /var/tmp aren't cleaned at each reboot or you'll have a bitch of a time because you'll have to create a new socket each time. ~kurth
I had the EXACT same problem... what you need to do is find where the 'mysql.sock' file is on your computer (sometimes it's at /var/lib/mysql.sock or some place like that).. then what you need to do is create the mysql.sock file in the /tmp directory (for some reason it wouldn't let me copy over the file to the /tmp directory once i found it).. then you can create a symbolic link using the ln command.. and if you need help with the ln (i believe that's it if not let me know) you can just type "man ln" in the command prompt if you are running on a linux box.... hope that helps.. jay ----- Original Message ----- From: "Tom Beidler" <tom@orbittechservices.com> To: "php list" <php-general@lists.php.net> Sent: Wednesday, August 22, 2001 10:39 AM Subject: [PHP] phpMyAdmin install error I'm getting the following error with phpMyAdmin; Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/web/isp.com/public_html/dloc/admin/lib.inc.php on line 308 Error Any ideas where to start looking. All I've set in the config.inc.php is userid, password and database name. Works on every other ISP I've used but this one is barking. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#63922) next »