Home >Database >navicat >What should I do if error 2003 occurs in navicat in Linux?

What should I do if error 2003 occurs in navicat in Linux?

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-15 14:09:516024browse

What should I do if error 2003 occurs in navicat in Linux?

Navicat error 2003 solution steps in Linux:

1. First log in to mysql.

What should I do if error 2003 occurs in navicat in Linux?

#2. Authorize the user - you need to execute the following statement in mysql (open mysql remote permissions).

use mysql;
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;

Related recommendations: "Navicat for mysql graphic tutorial"

3. Open Navicat - Edit Connection - Click Connection Test.

What should I do if error 2003 occurs in navicat in Linux?

4. Prompt 2003 error.

What should I do if error 2003 occurs in navicat in Linux?

5. Comment out bind-address = 127.0.0.1

sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf

Comment out bind-address = 127.0.0.1 (that is, add # at the beginning of the line) , as follows:

What should I do if error 2003 occurs in navicat in Linux?

#6. Restart linux.

reboot

7. Then use Navicat to connect to mysql.

What should I do if error 2003 occurs in navicat in Linux?

The above is the detailed content of What should I do if error 2003 occurs in navicat in Linux?. 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