|
|
![]() |
|
|
Top | #1 |
|
hypnotika
Joined: January 2004
Location: Minnesota
Posts: 107
Reputation: 40
Power: 104 |
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 have no idea what it is talking about. I'm very new to this server stuff. I just wanted to install it so I could test out my website before putting it online. |
|
|
|
|
|
Top | #2 |
|
OSNN Addict
Joined: January 2004
Posts: 144
Reputation: 10
Power: 104 |
Try not using a password unless you set one up. and/or try not using a username. Those were my problems. I did not set one to begin with, so I didn't give it one and it worked. I only use mine for local testing though so it doesn't have to be really secure.
|
|
|
|
|
|
Top | #3 |
|
OSNN Addict
Joined: January 2004
Posts: 144
Reputation: 10
Power: 104 |
um, do you have windows or linux?
|
|
|
|
|
|
Top | #4 |
|
hypnotika
Joined: January 2004
Location: Minnesota
Posts: 107
Reputation: 40
Power: 104 |
wondows XP
|
|
|
|
|
|
Top | #5 |
|
Glaanies script monkey
Joined: February 2003
Location: Chicago
Posts: 2,725
Reputation: 1520
Power: 155 |
MySQL is not running, I haven't used it on Windows, but I think you need a my.ini config file in, well you need to figure out where it goes, and then start it up.
Once you get it running use this to set the password mysql>SET PASSWORD FOR username@"%"=PASSWORD('your password'); |
|
|
|
|
|
Top | #7 |
|
OSNN Veteran Addict
Joined: March 2002
Location: United Kingdom
Posts: 7,805
Reputation: 1490
Power: 217 |
yeah you gotta run mysql-nt and make the my.ini or my.cnf in C:\
|
|
|
|
|
|
Top | #8 |
|
Dominus
Joined: March 2002
Location: Minnesota, USA
Posts: 1,570
Reputation: 660
Power: 146 |
The initial DB for MySQL was not setup. That needs to be setup first before you can connect to MySQL. I run MySQL on Linux, I would have to...
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pg to mysql and mysql to pg | Dark Atheist | Green Room | 9 | March 25th, 2008 4:43pm |
| can't get new php/mysql install to work. | Heeter | Web Design & Coding | 2 | February 29th, 2008 7:06am |
| VB 6 and mySQL | disavowed00 | Web Design & Coding | 5 | January 15th, 2005 8:29pm |
| PHP and Mysql | luish | Web Design & Coding | 7 | August 24th, 2003 6:27pm |
| PHP MySQL | 5meg | Web Design & Coding | 3 | February 2nd, 2002 1:34pm |