SQL issues

Status
Not open for further replies.

lynnelen

New Member
Messages
7
Reaction score
0
Points
0
When I try to go to a page that requires SQL (http://www.appliedforesight.org/forum/) it says:

IPB WARNING [2] mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 (Line: 131 of /ips_kernel/class_db_mysql.php)


SQL error: Lost connection to MySQL server at 'reading initial communication packet', system error: 111
SQL error code:
Date: Monday 01st 2008f September 2008 01:59:00 PM

I'm not sure what is going on or how to resolve this.
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Are you using localhost as the MySQL server?
That often happens if you use a IP to access a local MySQL server.
 
Last edited:

lynnelen

New Member
Messages
7
Reaction score
0
Points
0
Are you using localhost as the MySQL server?
That often happens if you use a IP to access a local MySQL server.

Yeah, I've got it listed as:

"$INFO['home_url'] = 'http://localhost';"

in the conf_global.php file. Is there somewhere else I should be looking for an ip instead of localhost?

EDIT:
Nevermind, the host was 127.0.0.1 instead of localhost. I changed that and it works great.

Thanks for the help Chris!
 
Last edited:
Status
Not open for further replies.
Top