Solved

Cannot access MySQL database on Windows PC

Posted on 2013-12-28
6
578 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
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.

 

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Creating and Managing Databases with phpMyAdmin in cPanel.
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

856 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