Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 8th, 2005, 2:59 PM   #1
ArchAngel
Programmer
 
ArchAngel's Avatar
 
Join Date: Jan 2005
Location: I could be anywhere, even Indiana
Posts: 34
Rep Power: 0 ArchAngel is on a distinguished road
Send a message via AIM to ArchAngel Send a message via MSN to ArchAngel Send a message via Yahoo to ArchAngel
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.
ArchAngel is offline   Reply With Quote
Old Feb 8th, 2005, 3:34 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
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).
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Feb 8th, 2005, 5:19 PM   #3
ArchAngel
Programmer
 
ArchAngel's Avatar
 
Join Date: Jan 2005
Location: I could be anywhere, even Indiana
Posts: 34
Rep Power: 0 ArchAngel is on a distinguished road
Send a message via AIM to ArchAngel Send a message via MSN to ArchAngel Send a message via Yahoo to ArchAngel
Which windows folder?
__________________
People say I'm crazy, but I have the heart of a little boy. It's in my desk at home.
ArchAngel is offline   Reply With Quote
Old Feb 8th, 2005, 6:44 PM   #4
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
C:\windows.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Feb 8th, 2005, 11:53 PM   #5
codetaino
Programmer
 
codetaino's Avatar
 
Join Date: Jan 2005
Location: Bayamon, Puerto Rico
Posts: 71
Rep Power: 4 codetaino is on a distinguished road
try running on a command propt windows on the mysql bin folder

mysql -u root

to check if works?!
__________________
"God bless u all" :)
codetaino is offline   Reply With Quote
Old Feb 9th, 2005, 9:47 AM   #6
ArchAngel
Programmer
 
ArchAngel's Avatar
 
Join Date: Jan 2005
Location: I could be anywhere, even Indiana
Posts: 34
Rep Power: 0 ArchAngel is on a distinguished road
Send a message via AIM to ArchAngel Send a message via MSN to ArchAngel Send a message via Yahoo to ArchAngel
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.
ArchAngel is offline   Reply With Quote
Old Feb 9th, 2005, 8:08 PM   #7
BlazingWolf
Hobbyist Programmer
 
Join Date: Sep 2004
Posts: 207
Rep Power: 4 BlazingWolf is on a distinguished road
Do a phpinfo() and make sure PHP is recognizing MySQL.
__________________
_______________________________
BlazingWolf
BlazingWolf is offline   Reply With Quote
Old Feb 9th, 2005, 9:34 PM   #8
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Make sure MySQL is on.
__________________

tempest is offline   Reply With Quote
Old Feb 10th, 2005, 1:12 PM   #9
ArchAngel
Programmer
 
ArchAngel's Avatar
 
Join Date: Jan 2005
Location: I could be anywhere, even Indiana
Posts: 34
Rep Power: 0 ArchAngel is on a distinguished road
Send a message via AIM to ArchAngel Send a message via MSN to ArchAngel Send a message via Yahoo to ArchAngel
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.
ArchAngel is offline   Reply With Quote
Old Feb 10th, 2005, 7:42 PM   #10
BlazingWolf
Hobbyist Programmer
 
Join Date: Sep 2004
Posts: 207
Rep Power: 4 BlazingWolf is on a distinguished road
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
BlazingWolf is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:12 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC