search
HomeDatabasenavicatHow to authorize remote access in navicat

How to authorize remote access in navicat

Navicat for MySQL is a commonly used database management software for MySQL database. It supports a single program and can be connected to MySQL and MariaDB at the same time. This fully functional front-end software provides an intuitive and powerful graphical interface for database management, development and maintenance. So how to use this software to remotely access the MySQL database?

Recommended tutorial: MySQL introductory video

1. Create a new connection and set the connection information. Just enter the IP address of the host that needs to be connected remotely in the host name/IP address.

How to authorize remote access in navicat

But using Navicat directly to connect through IP will report various errors, for example: Error 1130: Host '192.168.1.80 ' is not allowed to connect to this MySQL server.

1. First use localhost to log in to the database you want to connect remotely

How to authorize remote access in navicat

2. Open the command prompt window , enter the following command:

mysql> grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
Query OK, 0 rows affected
mysql> flush privileges;
Query OK, 0 rows affected

The first sentence is to give the permissions of the remote connection. You only need to set the user name and password of the connection according to the root and 123456 in the personal database modification statement

The second sentence is to refresh the database so that the permissions take effect immediately.

How to authorize remote access in navicat

#3. Generally, you can connect to the database remotely, but sometimes the following error will occur: 2003 - Can't connect to MySQL server on '192.168 .1.80'(10038).

This error is that the firewall of the server (the server is a win7 system) has intercepted your connection. Then turn off the firewall and you can connect.

Use the cmd command to connect to the remote database. You do not want to use any tools to connect to the remote database.

An error was reported in the command line. ERROR 2003 : Can't connect to MySQL serveron "192.168.1.80"

The reason for this error is the same as above, it is blocked by the firewall.

PS: In addition to turning off the WIN7 firewall under the control panel, you must also turn it off in the service

The above is the detailed content of How to authorize remote access in navicat. 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
Navicat's Competitors: A Comparative AnalysisNavicat's Competitors: A Comparative AnalysisApr 30, 2025 am 12:18 AM

Navicat's competitors include DBeaver, HeidiSQL and DataGrip. 1.DBeaver is an open source tool that supports multiple databases, but has a complex interface. 2.HeidiSQL is suitable for MySQL and MariaDB users, and is lightweight but has limited functionality. 3.DataGrip integrates with JetBrains tools, but is priced higher. When selecting a tool, you need to consider features, learning curves, and workflow.

Beyond Navicat: Tools for Specific Database SystemsBeyond Navicat: Tools for Specific Database SystemsApr 29, 2025 am 12:19 AM

Tools designed for specific database systems can improve work efficiency and optimize database management. 1.MySQLWorkbench provides SQL editing and database design functions for MySQL. 2.pgAdmin provides performance monitoring and SQL debugging for PostgreSQL. 3.MongoDBCompass provides data query and performance optimization functions for MongoDB.

Navicat: Why It's Used by Database ProfessionalsNavicat: Why It's Used by Database ProfessionalsApr 28, 2025 am 12:27 AM

Navicatispopularamongdatabaseexpertsduetoitsversatility,user-friendlyinterface,andpowerfulfeatures.1)ItsupportsmultipledatabasetypeslikeMySQL,PostgreSQL,andOracle.2)Itsintuitiveinterfaceincludesavisualquerybuilderforeasyqueryconstruction.3)Navicatoff

How to get Navicat Premium for free?How to get Navicat Premium for free?Apr 27, 2025 am 12:07 AM

NavicatPremium cannot be obtained for free, but there are alternatives: 1. Use open source tools such as DBeaver and pgAdmin; 2. Use Navicat's 14-day trial version; 3. Apply for educational offers, you need to provide a student ID or educational institution certificate.

Evaluating Database Tools: What to Look for in AlternativesEvaluating Database Tools: What to Look for in AlternativesApr 26, 2025 am 12:17 AM

When evaluating database tools, you should focus on performance and scalability, data consistency and integrity, security and compliance. 1. Performance and scalability Query response time and system load through performance testing. 2. Data consistency and integrity ensure data accuracy and integrity and avoid business problems. 3. Security and compliance protect data security and comply with laws and regulations.

Finding the Right Database Tool: Alternatives to NavicatFinding the Right Database Tool: Alternatives to NavicatApr 25, 2025 am 12:20 AM

Alternatives to Navicat include DBeaver, HeidiSQL, and pgAdmin. 1.DBeaver is open source, supports multiple databases, and is suitable for managing multiple databases. 2.HeidiSQL is free and lightweight, suitable for MySQL and MariaDB. 3.pgAdmin is specially designed for PostgreSQL, and is powerful and suitable for in-depth management.

The Best Database GUI: Navicat Alternatives for EfficiencyThe Best Database GUI: Navicat Alternatives for EfficiencyApr 24, 2025 am 12:02 AM

Alternatives to Navicat include DBeaver and HeidiSQL. 1) DBeaver is known for its powerful data model design and cross-platform support. 2) HeidiSQL is loved by developers for its lightweight and fast response.

Navicat's Purpose: Simplifying Database AdministrationNavicat's Purpose: Simplifying Database AdministrationApr 23, 2025 am 12:14 AM

Navicat simplifies database management tasks through a graphical interface. 1) Supports multiple database systems, such as MySQL, PostgreSQL, etc. 2) Provide query builder and data migration tools to simplify complex operations. 3) Use connection pooling technology to ensure performance in high concurrency environments.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function