1. Create a user // Log on to MySQL@> Mysql-u root-P@> Password// Create a userMysql> insert into mysql. User (host, user, password) values ('localhost', 'jeecn', password ('jeecn '));// Refresh the system permission listMysql> flush privileges;In
Use the yum command in Centos to deploy the lamp environment. by default, the IP security policy is enabled for Centos, that is, port 80 also prohibits external access, so disable iptables first. service iptables stop or open iptables-I RH-Firewall-1
Install openstack in centos 7.0
Reference official documents: http://docs.openstack.org/juno/install-guide/install/yum/content /#
Ip address information of three Nodes
Controller: 192.168.100.10
Network: 192.168.100.20
Compute1:
Error: 1130-host... is not allowed to connect to this MySql server, 1130-hostallowed
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
This is the first time I have installed MySQL on Ubuntu Linux 9.04. I have not installed MySQL before. So I have made some configurations by referring to some network articles. The following is the entire installation process.
I. Installation and
This is just a simple MySQL setting. However, many images are simple, but security is ignored. Therefore, you must be clear about the details and meanings of the settings.
MySQL remote connection settings
The steps are as follows:
1. log on to the
1. sudo apt-Get install apache2 libapache2-mod-php5 PhP5 php5-gd mysql-server php5-mysql phpMyAdminWhen downloading and automatically installing the configuration, a box will pop up asking you to enter the password !! Remember the password
2.
Install MySQL in CentOS and use Navicat for MySQL in WindowsInstall
Check whether the installation has been performed:Yum list installed mysql *Rpm-qa | grep mysql * Check whether the installation package is available:Yum list mysql * Install the
MySQL does not allow remote access solution bitsCN.com 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,
By default, the root account configured for MySQL can only be logged on locally. The following error occurs during Remote Logon: 1103hostxxx. xxx. xxx. xxisnotallowedtoconnectothismysqlserver. Or 1045Accessdeniedforuserroot@10.163.225.155
1130-host... isnotallowedtoconnecttot... solves bitsCN.com
1130-host... is not allowed to connect to t... solution
Solution:
1. Change the table.
It may be that your account is not allowed to log on remotely, but only on localhost. At this
Method 1: Using mysqlroot (root permission) user login direct authorization can also create a user usrbinmysqladmin-urootpassword123456mysql-uroot-p password to view all user names and passwords selecthost, user, passwordf Method 1: using mysql root
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
Mysql creates user bitsCN.com
Grant all privileges on *. * TO username @ '%' identified by "password"
Assign the access permission to all databases of remote username.
Password is used for accessing username from any table in any database.
1
1. follow the prompts to install mysql2 and run cmd to enter the mysql installation directory. my installation directory is C: ProgramFilesMySQLMySQLServer56bin. enter cdC: ProgramFilesMySQLMySQLServer56bin3 using my
1. follow the prompts to install
Create a user in linuxmysql and grant the permission to
1. create a user// Log on to MYSQL# Mysql-u root-p# Password// Create a userMysql> insert into mysql. user (Host, User, Password) values ('localhost', 'lwd ', password ('lwd '));// Refresh
Mysql database, remote access to the current mysql database on the server, remote access, do not want to publish the root account, so, created a demo account, allow the demo account to access the shandong database in the mysql database
The following content is excerpted from [1 ~ 2]
1. Set the permissions to access a single database
Mysql> grant all privileges on test. * To 'root' @ '% ';
Note: The user name is set to root, and the password is blank. You can access the
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.