Author Topic: Warning: mysql_connect() [function.mysql-connect]........  (Read 3463 times)

0 Members and 1 Guest are viewing this topic.

Offline fabala07

  • Pre-Newbie
  • Posts: 1
    • View Profile
Warning: mysql_connect() [function.mysql-connect]........
« on: September 21, 2007, 04:44:34 PM »
It keeps coming up with:

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/sarahe/public_html/4images/includes/db_mysql.php on line 39

An unexpected error occured. Please try again later.

Can anyone help with this?
xx

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Warning: mysql_connect() [function.mysql-connect]........
« Reply #1 on: September 21, 2007, 08:33:42 PM »
Quote
It keeps coming up with:

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/sarahe/public_html/4images/includes/db_mysql.php on line 39

An unexpected error occured. Please try again later.

Can anyone help with this?

No connection.

1 - Please read FAQ in forum.
2 - Send ticket to host for enter right mySQL server host address in config.php file.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?