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?

爱喝马黛茶的安东尼
Release: 2019-08-15 14:09:51
Original
6038 people have browsed it

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;
Copy after login

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
Copy after login

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template