![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
|
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
__________________
People say I'm crazy, but I have the heart of a little boy. It's in my desk at home. |
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
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).
|
|
|
|
|
|
#3 |
|
Programmer
|
Which windows folder?
__________________
People say I'm crazy, but I have the heart of a little boy. It's in my desk at home. |
|
|
|
|
|
#4 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
C:\windows.
|
|
|
|
|
|
#5 |
|
Programmer
Join Date: Jan 2005
Location: Bayamon, Puerto Rico
Posts: 71
Rep Power: 4
![]() |
try running on a command propt windows on the mysql bin folder
mysql -u root to check if works?!
__________________
"God bless u all" :) |
|
|
|
|
|
#6 |
|
Programmer
|
Didn't work, "ERROR 2003: Can't connect ot MySQL server on 'localhost' (10061)"
What is a meer Angel to do?
__________________
People say I'm crazy, but I have the heart of a little boy. It's in my desk at home. |
|
|
|
|
|
#7 |
|
Hobbyist Programmer
Join Date: Sep 2004
Posts: 207
Rep Power: 4
![]() |
Do a phpinfo() and make sure PHP is recognizing MySQL.
__________________
_______________________________ BlazingWolf |
|
|
|
|
|
#8 |
|
Programming Guru
![]() |
Make sure MySQL is on.
__________________
|
|
|
|
|
|
#9 |
|
Programmer
|
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?
__________________
People say I'm crazy, but I have the heart of a little boy. It's in my desk at home. |
|
|
|
|
|
#10 |
|
Hobbyist Programmer
Join Date: Sep 2004
Posts: 207
Rep Power: 4
![]() |
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?
__________________
_______________________________ BlazingWolf |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|