Tag: src mic buffer realizes landing my.cnf mil effect imageset MySQL remote connection root permissionsin the remote connection to MySQL should have encountered, the root user can not connect to the remote MySQL, only local connection, foreign
The previous management of MySQL database is basically local, today learned a relatively light, do not need to install, directly unzip the available graphical interface management tools Heidisql (: Link: http://pan.baidu.com/s/1nvuP2Et Password: vry9
The project changed the environment, the database for the environment, so connected to the database with Navicat, the results can only see some of the databaseIs it strange that my IP is forbidden to go to the server to see the connection user right1
Test the connection condition:"1045-access denied for user ' [email protected] (using Password:no)" will appear if the remote login user is not added to the permissions that all machines can access, which indicates the need to add permissions;Add
1, [root@localhost ~]# mysql-u root-p2. mysql> use MySQL3. Mysql> Grant all privileges on * * to ' root ' @ '% ' identified by ' password ' with GRANT OPTION;4, mysql> FLUSH privileges;5, mysql> select Host,user,password from user;All privileges
When the server is not running PHP, not installed phpMyAdmin, remote management of MySQL is necessary.First step: Turn on remote access for MySQL usersMysql-u root-p MySQL # 1th MySQL is the execution command, and the 2nd MySQL is the system data
Original address: http://blog.163.com/[email protected]/blog/static/16674283420110224207826/PHP remote connection MySQL slow, sometimes remote connection to MySQL time 4-20 seconds, local connection MySQL normal, the main reason for this problem is
Open MySQL remote connection under LinuxBased on security considerations The root account is generally only accessible locally, but it may be necessary to open the root remote access permission during the development process. Here are the basic
1. Change the table method. It may be that your account is not allowed to log on remotely, only on localhost. This time, as long as the computer on the localhost, log in to MySQL, change the "MySQL" Database in the "User" table "host", from
This article describes how to enable local MySQL to be remotely connected. MySQL is a user-related table in the Mysql.user table, which focuses on all of the user's information, and the Host field is the field to be explained in this article.The
Original link: http://www.111cn.net/database/mysql/45230.htmIf MySQL does not support remote connections, you will get a hint: The error code is 1130,error 1130:host * isn't (www.111cn.net) allowed to connect to this MySQL server,There are 2 ways to
Mysql:is not allowed to connect to this MySQL serverThis error occurs if you want to connect to your MySQL:ERROR 1130:host ' 192.168.1.3 ' isn't allowed to connect to this MySQL serverWorkaround:1. Change the table method. It may be that your
The first step:Vim/etc/mysql/my.cnf Found bind-address = 127.0.0.1Comment out this line, such as: #bind-address = 127.0.0.1//allow local access onlyor instead: Bind-address = 0.0.0.0//allow any IP accessOr specify an IP address yourself.Restart
Workaround:1. Change the table method.It may be that your account is not allowed to log on remotely, only on localhost. This time, as long as the computer on the localhost, log in to MySQL, change the "MySQL" Database in the "User" table "host",
Error: 1130-host allowed to connect to this MYSQL serverWorkaround:1. Change the table method.It may be that your account is not allowed to log on remotely, only on localhost. This time, as long as the computer on the localhost, log in to MySQL,
Execute the following command to errorMysql-uroot-h${hostip}-penter password:*********1130'$hostIp' is isn't allowed to connect to this MySQL serverWorkaround:1. Change the table method.It may be that your account is not allowed to log on remotely,
MySQL Remote connection permissions open to execute the following statement:
#视自己情况修改, user name and password
The code is as follows
Copy Code
GRANT all on *.* to root@ "%" identified by "your own password";Flush
The first step:Vim/etc/mysql/my.cnf Found bind-address = 127.0.0.1Comment out this line, such as: #bind-address = 127.0.0.1or instead: Bind-address = 0.0.0.0Allow any IP access;Or specify an IP address yourself.Restart Mysql:sudo/etc/init.d/mysql
First see if the port is open Netstat-an|grep 3306This figure is on port 3306, which was previously shown as ... 127.0.0.1:3306 ...Open MySQL configuration file vi/etc/mysql/mysql.conf.d/mysqld.cnfLog Off bind-address = 127.0.0.1?Re-start UbuntuSee
The operation is very simple, just 5 steps, as follows:1. Go to MySQL:/usr/local/mysql/bin/mysql-u root-p2. Use the MySQL library:Use MySQL;3. View the user table:SELECT ' Host ', ' user ' from user;4. Update the user table:UPDATE user SET ' Host ' =
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.