PDA

View Full Version : Step3 Installation problem


Mersu
Fri 16th Feb '01, 3:58am
---
Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in /home/mersu/public_html/flashboard/admin/db_mysql.php on line 50

Warning: Supplied argument is not a valid MySQL-Link resource in /home/mersu/public_html/flashboard/admin/db_mysql.php on line 56
---

Any idea ??
The server supports MySQL and I have database there...can't figure out the problem.

dellow
Fri 16th Feb '01, 9:49am
I have same problem !

But something deferant in message


Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in db_mysql.php on line 50

Warning: Supplied argument is not a valid MySQL-Link resource in db_mysql.php on line 56

PeF
Fri 16th Feb '01, 11:36am
This usualy means MySQL server is down. Check if it's running or contact your hosts for more info.

dellow
Fri 16th Feb '01, 12:32pm
Hi..

About me it is in my deticated server. but how can i know is running or not ?

i am useng telnet and login mysql and use command : show databases; .

is this detect that mysql server is running ?


thank you

PeF
Fri 16th Feb '01, 2:14pm
If it shows dbs then MySQL is running.
I recommend to tell your host about the problem.

Also, be sure you specified correct host in config.php.

dellow
Sat 17th Feb '01, 4:53am
Hi ..

i found this file mydomain.com in the path /var/lib/mysql/

whin i open it i found this data : see the last line there is error :

what is this error ? and how can i solv it ?








mysqld started on Sat Feb 3 17:23:12 AST 2001
/usr/sbin/mysqld: ready for connections
010204 12:20:24 /usr/sbin/mysqld: Normal shutdown

010204 12:20:24 /usr/sbin/mysqld: Shutdown Complete

mysqld ended on Sun Feb 4 12:20:25 AST 2001
mysqld started on Sun Feb 4 12:28:02 AST 2001
/usr/sbin/mysqld: ready for connections
010212 0:46:40 /usr/sbin/mysqld: Normal shutdown

010212 0:46:40 /usr/sbin/mysqld: Shutdown Complete

mysqld ended on Mon Feb 12 00:46:41 AST 2001
mysqld started on Mon Feb 12 00:49:54 AST 2001
/usr/sbin/mysqld: ready for connections
010212 2:42:56 Error in accept: Resource temporarily unavailable

Mersu
Sat 17th Feb '01, 8:47am
Okay, I got answer from my host that I should change that MySQL's socket to /var/run/mysqld/mysqld.sock

Where can I change it ?