![]() |
MySQL error 2003
I get "ERROR 2003: can't connect to MySQL server on 'localhost' (10061)."
Everytime I try to access mysql.exe. Anybody have idea why? [mysqld] basedir=C:/mysql #bind-address=*********** datadir=C:/mysql/data #language=C:/mysql/share/your language directory #slow query log#= #tmpdir#= #port=3306 #set-variable=key_buffer=16M [WinMySQLadmin] Server=C:/mysql/bin/mysqld-nt.exe user=***** password=***** IP, pw, and ID yanked. Thanks, Arch |
I had this problem for ages. I fixed it by moving php.ini to the Windows folder (I'm assuming you're running Windows here).
|
Which windows folder?
|
C:\windows.
|
try running on a command propt windows on the mysql bin folder
mysql -u root to check if works?! |
Didn't work, "ERROR 2003: Can't connect ot MySQL server on 'localhost' (10061)"
What is a meer Angel to do? |
Do a phpinfo() and make sure PHP is recognizing MySQL.
|
Make sure MySQL is on.
|
tempest - How exactly? I'm guessing through prompt but I'm nto exactly sure how to check.
My dad said phpinfo looks like it's set up for SQLite, so does that mean it's not going to work for MySQL? |
SQLite and MySQL are different. Make sure PHP is setup to recognize MySQL properly.
Did you edit your PHP.ini to look for the MySQL module? |
| All times are GMT -5. The time now is 4:17 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC