MySQL 5.7 security-related features
1. Account security-related features
1.1: create a user
Mysql. user in analyticdb 5.7 requires that the plugin field be non-empty. The default value is mysql_native_password, And the mysql_old_password
1. Create a test table on the source sideCreate table s select * from mysql. user;2. view the table creation statement of the test table on the source side.Show create table s;Create table's '('Host' char (60) character set utf8 COLLATE utf8_bin not
Mysqlproxy and mysql-mmm test environment for read/write Splitting: mysqlA: 192.168.128.6mastermysqlB: 192.168.128.7mastermysqlproxy + mysql-mmm: 192.168.128.5 database write operation: 192.
Mysqlproxy and mysql-mmm test environment for read/write
One-way replication environment from ORACLE to mysql using goldengate: I use the VBOX virtual machine, a host that has installed the ORACLE database and GOLDENDGATE. The other one only installs the ORACLE database. Configure the database environment,
1130-host... is not allowed to connect to t... solution: 1. Change the table. It may be that your account is not allowed to log on remotely, but only on localhost. At this time, you only need to log in to mysql on the computer of localhost, and
Solution:
1. Change the table.
It may be that your account is not allowed to log on remotely, but only on localhost. At this time, you only need to log in to mysql on the computer of localhost, and change the "host" entry in the "user" table in the "
Solution: MySQL cannot be remotely connected.
On the remote host, I have enabled the mysql service and can use phpmyadmin to open it. For example, the user name is root and the password is 123456. However, an error is reported during remote
Can I create a new user using the MySQL command line? The answer is definitely yes. You can also grant permissions to new users by using the MySQL command line.
First, declare that, in general, you need to have the root permission in MySQL to modify
This article mainly introduces how to solve the problem that MySQL cannot connect remotely. the solution provided in this article is mainly for the case of IP address restrictions. if you need a friend, refer to the remote host, I have enabled the
Use the yum command in Centos to deploy the lamp environment CentOSLAMP
BitsCN.com
1. by default, Centos enables the IP security policy, that is, port 80 also disables external access. Therefore, iptables is disabled first.
Service iptables stop
MYSQL adds a new user MYSQL creates a database for the user MYSQL assigns the new user the permission bitsCN.com
MYSQL adds a new user MYSQL creates a database for the user MYSQL assigns permissions to the new user
1. create a user
// Log on to
After mysql is installed, allow remote connection to bitsCN.com. After mysql is installed, allow remote connection.
Http://blog.sina.com.cn/s/blog_3eba8f1c0100tsox.html
Http://blog.csdn.net/zxyvb/article/details/2462514
Http://www.bitsCN.com/article/
Check whether the installation has been installed:Yum list installed mysql *Rpm-qa | grep mysql * Check whether the installation package is available:Yum list mysql * Install the mysql client:Yum install mysql Install the mysql server:Yum install
Every mysql server node needs to run mmmd_agent, and run mmmd_mon on another machine [it can be an independent server or a server shared with the AppServer ].Mmm uses the virtual IP technology. One network card can use multiple IP
ERROR 1130 (HY000) When remotely connecting to the MySQL server)
When we remotely connect to the MySQL server, the following error is reported.[Root @ d1_cvmzjgltest2 ~] # Mysql-h 10.1.1.6-u root-pEnter password:ERROR 1130 (HY000): Host '10. 1.1.5
Error: 1130-host... is not allowed to connect to this MySql server opens mysql remote connection without using localhost, 1130-hostlocalhost
Error: 1130-host... is not allowed to connect to this MySql server
Solution:
1. Change the table.
It may be
192.168.3.130 Clustera GALERA-DB01192.168.3.131 Clusterb GALERA-DB02192.168.3.129 Clusterc galera-db03The following 1-3 steps are required to perform the three1: Uninstall MySQL (because MySQL and mariadb are incompatible with MySQL)Yum Erase
management of MySQL usersFirst, view the current Connection account information1.1, view the current database to connect the account informationUse command: Show ProcesslistMySQL [(None)]> show processlist;+--------+-------------+--------------------
Nicecui
This article declined to reprint, if necessary to obtain the author's consent, thank you.
This article link: http://www.cnblogs.com/NiceCui/p/8213723.html
Email:[email protected]
Date: 2017-12-20
MySQL
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.