Navicat tools link MySQL "Access denied for user ' root ' @ ' IP '" User remote assignment

Source: Internet
Author: User

Title

Error adding permissions to user with Navicat remote connection database

Connect to MySQL

Mysql-uroot-p;use MySQL;

Change permissions

Use grant all privileges to change the user's remote permissions for some libraries

Grant all privileges the on Library name. Table name to ' user name ' @ ' IP address ' identified by ' password ' with grant Option;flush privileges;

Example

GRANT all privileges on * * to ' root ' @ '% ' identified by ' sjfio3342 ' with GRANT OPTION; Flush privileges;

Description

Library Name: The name of the database to be accessed remotely, all databases using "*"
Table name: The name of the table under the database to be accessed remotely, all tables using "*"
Username: The name of the user to assign to the remote access permission
IP Address: The IP address of the computer that can be accessed remotely, using "%" for all addresses
Password: the password that is used by the user to be assigned to the remote access permission

Navicat tools link MySQL "Access denied for user ' root ' @ ' IP '" User remote assignment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.