Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

starting MySQL server

 
Tina Mills
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was able to start the server yesterday but not today. I'm running this in the cmd prompt. Nothing happens.
cd C:\Users\Tina\Desktop\java\MySQL\mysql-5.5.21-winx64\bin
mysqld –console

I get "ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)" when I run this in the cmd prompt.
mysql -u root

How do I start the server?
 
Zeeshan Sheikh
Ranch Hand
Posts: 144
Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think personal firewall is running on your machine. Please make sure you have opened the TCP port 3306 for connections.
 
Tina Mills
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I needed another hyphen. This worked. Thank you.
mysqld --console
 
Campbell Ritchie
Sheriff
Pie
Posts: 48981
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done sorting it out . I think I ought to move this discussion to the databases forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic