i have a funny error and i cant find the solution
Posted:
01. September 2011 04:54
by q2501
my system of computer is 32bit wins xp when i connect to the internet the mysql is able to running but once i disconnect the internet and no connect to any network the phpmyadmin has a eroor 2002
and mysql database is deactivated. plz hlep i dont have any firewall
Re: i have a funny error and i cant find the solution
Posted:
01. September 2011 13:43
by hackattack142
It sounds like it might not be binding to localhost by default. You could try opening xampp/mysql/bin/my.ini (or my.cnf whichever you have), going under the [mysqld] section, and adding:
- Code: Select all
bind-address="127.0.0.1"
on a new line.
Re: i have a funny error and i cant find the solution
Posted:
10. September 2011 11:45
by charles.stricklin
hackattack142 wrote:It sounds like it might not be binding to localhost by default. You could try opening xampp/mysql/bin/my.ini (or my.cnf whichever you have), going under the [mysqld] section, and adding:
- Code: Select all
bind-address="127.0.0.1"
on a new line.
That appears to have fixed my problem. Thanks!