Welcome, Guest. Please Login or Register.
May 18, 2025, 08:03:15 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  MySQL socket errors « previous next »
Pages: [1] Reply Ignore Print
Author Topic: MySQL socket errors  (Read 398 times)
Joe Cool
Guest
MySQL socket errors
« on: January 19, 2002, 09:09:21 AM »
Reply with quote

 ???

Whenever I try to finish step 4 of the install, I put in 'localhost' as the MySQL server name. This is what  get:
Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /var/www/html/yi/install.php on line 175

Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /var/www/html/yi/install.php on line 175
Cannot connect to database server with given data

(Mind you that mysql works fine via command line)

Well, I try other things, like 127.0.0.1, and that gets me
an access denied:

Warning: Host 'localhost.localdomain' is not allowed to connect to this MySQL server in /var/www/html/yi/install.php on line 175

Warning: MySQL Connection Failed: Host 'localhost.localdomain' is not allowed to connect to this MySQL server in /var/www/html/yi/install.php on line 175
Cannot connect to database server with given data  

Please help :). Sorry for being braindead, but I have been trying to get this to work for about 3 hours :).
Logged
joe cool
Guest
Re:MySQL socket errors
« Reply #1 on: January 19, 2002, 11:27:44 PM »
Reply with quote

Well, I fixed it by adding a socket param to mysql in a cron job.
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  MySQL socket errors « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.210 seconds with 19 queries.