Solved

Cannot access MySQL database on Windows PC

Posted on 2013-12-28
6
562 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
  • 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

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 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Read about achieving the basic levels of HRIS security in the workplace.
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

947 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now