?
Solved

Cannot access MySQL database on Windows PC

Posted on 2013-12-28
6
Medium Priority
?
600 Views
Last Modified: 2014-01-19
I have installed MySQL database(mysql-5.6.10-winx64) on my Windows 7 PC. When I try to start/run the MySQL database I get error:

ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10060).

I have attached the screenshots. Could you please help me fix the issue. Thanks a lot.
errorerror
0
Comment
Question by:toooki
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 12

Expert Comment

by:pdebaets
ID: 39744277
You should post this on a MySQL list instead of an MS Access list.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39744288
Check first to see if the 'mysqld' or 'mysqld-nt.exe' service is running in Task Manager.  If it is then you probably need to use a login to access the MySQL server.
0
 

Author Comment

by:toooki
ID: 39744303
Thank you. I looked at the task manager and found that the mysqld is running. I attached the screen.

How do I login to the MySQL server... ? Thank you.
taskservice
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:toooki
ID: 39744308
Also if I right-click on the Local instance section in the MySQL workbench, and click "start command line client", it asks for password. Is there any general password at the beginning? I type in some password and after a while the black/white window disappears.
run
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 39744331
When first installed, 'root', the user shown in your screen shot, does not have a password.  Just press Enter on that screen.  It is recommended that you create one but that can wait until you have things running.

I'm not sure why you are starting the Command line client.
0
 

Author Comment

by:toooki
ID: 39792750
I reinstalled MySql and it then worked. Thank you very much.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question