Injection Scanner
mysql.sock and too many connections
| User |
Post |
Chella Member Posts: 4
|
Posted: 2008-09-03 09:43:27
|
Hello again!
I'm still using Injection Scanner but as of late I'm getting the following two errors:
[03-Sep-2008 00:26:12] PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/mysite/public_html/injection_scanner/scan.php on line 31
[01-Sep-2008 08:34:22] PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections in /home/mysite/public_html/injection_scanner/scan.php on line 31
I haven't made any changes to the script, and I know that one of these errors may be caused by the host being unavailable. Is there anything I can do to fix this? |
Scott Admin Posts: 211
|
Posted: 2008-09-03 16:00:30
|
| That looks like a problem with the MySQL server itself. I would give it a little time and see if it clears up before making any changes to the script. Check your running processes and see how many MySQL connections are actually being made. |
Page:
[ 1 ]
New Post
You must be logged in to post on the discussion boards.