Solved

Cannot access MySQL database on Windows PC

Posted on 2013-12-28
6
571 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

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

Suggested Solutions

CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Familiarize people with the process of utilizing SQL Server stored procedures 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 Micr…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

770 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