This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes Problem while configuring mysql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Problem while configuring mysql" Watch "Problem while configuring mysql" New topic
Author

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.

Jules
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30085
    
149

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


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
Don't get me started about those stupid light bulbs.
 
subject: Problem while configuring mysql
 
Similar Threads
Entity beans and foreign keys
Designing in Hibernate
newbie question on database
Regarding Database Transction sychronisation
Is there any function like saveOrUpdate