File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Problem while configuring mysql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Problem while configuring mysql" Watch "Problem while configuring mysql" New topic

Problem while configuring mysql

shreehari Gopalakrishnan
Ranch Hand

Joined: Jun 01, 2004
Posts: 30
when i am trying to confogure my mysql i am getting this message

C:\mysql\bin>mysql -Dtest -uroot -p
Enter password:
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

i have installed mySQL front as a frontend tool but it is also showing the same problem can plz help me to sort it out ?

Thanks n advance
Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823
Is MySql actually running? It sounds like it's not there. You have to run it (as a service or whatever) before you can connect to it. Check your documentation.

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32822

This would be better posted in our JDBC forum. I'll move it there.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Problem while configuring mysql
It's not a secret anymore!