469,081 Members | 1,753 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,081 developers. It's quick & easy.

Root password issue at install

Having a problem setting up a password for MySQL

The reported problem when attempting to set up a root password is;

C:\mysql\bin>mysqladmin version
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'

When checking this:

C:\mysql\bin>telnet localhost 3306
Connecting To localhost...Could not open connection to the host, on port
3306: C
onnect failed

Appreciate any suggestions
David

Jul 19 '05 #1
1 4103
David Ehmer wrote:
Having a problem setting up a password for MySQL

The reported problem when attempting to set up a root password is;

C:\mysql\bin>mysqladmin version
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'

When checking this:

C:\mysql\bin>telnet localhost 3306
Connecting To localhost...Could not open connection to the host, on port
3306: C
onnect failed

Appreciate any suggestions
David


I found the same when installing under Mandrake Linux 9.1 so I just
configured it so that I use it as root with no password, as the manual
suggests in this case. It may not be the ideal from a security point of
view, but I am the only user on my machine, and I never use the Database
online, so that does not worry me unduly. It certainly works OK like that.

Best wishes

John Richards

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Christophe Poirier | last post: by
1 post views Thread by David Ehmer | last post: by
reply views Thread by damontimm | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.