Home>Article>Database> How to solve the problem that navicat cannot connect to the database 2003

How to solve the problem that navicat cannot connect to the database 2003

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼 Original
2019-08-13 16:59:48 9710browse

How to solve the problem that navicat cannot connect to the database 2003

Open Navicat for Mysql, create a new connection--the following situation occurs when testing the connection:

How to solve the problem that navicat cannot connect to the database 2003

Cause of the problem:

It can be seen from the error statement that 'cannot connect to the mysql server'. That is to say, it may be that the MySQL database service has not started. Just start mysqld.exe. I have tested it myself many times. There may be other reasons, but this is the most common.

Related recommendations: "Navicat for mysql graphic tutorial"

Solution:

1. Open 'Computer'-- >Click 'Computer' on the left-->Enter 'mysqld' in the search bar, find it and start it.

How to solve the problem that navicat cannot connect to the database 2003

#2. If it cannot be found, there is no mysql service. Go to the official website to download: https://dev.mysql.com/downloads/mysql/ and choose the 32-bit or 64-bit version that suits you. Start directly after downloading and installing.

3. After searching it out or starting it up, connect again. At this time, the above problem will not occur.

How to solve the problem that navicat cannot connect to the database 2003

The general default password is: root or empty (nothing) or 123456.

The above is the detailed content of How to solve the problem that navicat cannot connect to the database 2003. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn