Web Hosting Talk







View Full Version : SQL Help


DigiCrime
08-11-2002, 12:14 AM
I cant get the server to connect heres what I get

C:\MYSQL\BIN>mysqladmin -u root shutdown
MYSQLADMIN: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
You can check this by doing 'telnet localhost 3306'

I tried to telnet into localhost i get connection failed.... whats wrong?

The Prohacker
08-11-2002, 12:31 AM
Maybe mysql isn't on :D

DigiCrime
08-11-2002, 12:40 AM
C:\MYSQL\BIN>mysqld-nt

C:\MYSQL\BIN>mysql
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

C:\MYSQL\BIN>

i cant get it to come on

davidb
08-11-2002, 12:45 AM
First check if its running, the task manager will say. If its not, add the basedir options, should be something like:

mysqld --basedir=C:\mysql

depending on where you keep the mysql dir. Also check the mysql error log, it should be located in a subdirectory of your basedir.

Installing mysql in windows is fairly simple, I did it twice this week without any problems, also I run mysqld, not mysql-nt, and it works fine for me.

DigiCrime
08-11-2002, 12:54 AM
k i think i got it.... it is easy i know, but i got frustrated trying to configure my other system at the same time as this one lol Thanks :)