Log in

View Full Version : Error 2003: Can't connect to MySQL blah


JoeJack
06-17-2003, 02:30 AM
Everytime I try to run 'mysql.exe' (where I have to enter in 'create database eq', etc) It gives me 'Error 2003: Can't connect to MySQL on localhost' and I have no idea what to do.

Already tried rebooting once, using version 3.23 I think, and trying this on Windows XP. Any help would be appreciated

nofx712712
11-29-2003, 08:05 AM
I also have this problem, it happened after i erased my first data files to try to make my server over from scratch because i think i screwed it up the first time, anyways now i cant get into mysql to try to do the source db.sql; command, I have tried uninstalling then reinstalling mysql but it didn't help me

nofx712712
11-29-2003, 08:05 AM
I also have this problem, it happened after i erased my first data files to try to make my server over from scratch because i think i screwed it up the first time, anyways now i cant get into mysql to try to do the source db.sql; command, I have tried uninstalling then reinstalling mysql but it didn't help me

arkaria
11-29-2003, 01:23 PM
mysql.exe is a client. You have to have the mysql server running for the client to be able to connect to it.

nofx712712
12-05-2003, 02:40 PM
I didn't know that, i thought the mysql.exe was the server itself, thanks for the reply, it works now

Shawn319
12-06-2003, 04:23 AM
open a command prompt and type:

cd\mysql\bin
mysql -u root mysql

(mysql should open up now)

then start using it.