MySQL remote connection does not open the workaround1, change the table method .Please use MySQL management tools such as: SQLyog Enterprise, navicate MySQLIt may be that your account is not allowed to log on remotely, only on localhost. This time,
[Email protected] ~]# mysql-uroot-pEnter Password:Welcome to the MySQL Monitor. Commands End With; or \g.Your MySQL Connection ID is 2317Server Version:5.6.30-log Source DistributionCopyright (c) and/or, Oracle, its affiliates. All rights
When you see the "Manual Build" in the title, do you think that it's hard to get "auto-build"? Of course...... No, the "manual build" here refers to the step-by-step construction of Apache, MySQL, and PHP environments, relative to the integration
Workaround: 1. Change the table method. may be your account is not allowed to login from remote, only on localhost. This time, as long as the computer in localhost, log in to MySQL, change the "MySQL" database "user" table "host", from
Idea: Uninstall Redhat with yum, then download the CentOS yum, install and modify the configuration file1 , first to Http://mirrors.163.com/centos Download Packagex86 Address: http://mirrors.163.com/centos/6/os/i386/Packages/x86_64 Address:
The following two points need to be noted for MySQL's scheduled tasks1. No turn on this function, SHOW VARIABLES like ' Event_scheduler ';If you do not have to open the My.ini or my.cnf [Mysqld]Add Event_scheduler=on2. If the client is remote access,
MySQL frequently uses command lists1. System ManagementMysql-h Host Address-uusername-pConnect MySQL (in mysql/bin)ExitQuit MySQL Commandmysqladmin-uusername-p Old password Password new passwordChange password (in
Workaround: 1. Change the table method. may be your account is not allowed to login from remote, only on localhost. This time, as long as the computer in localhost, log in to MySQL, change the "MySQL" database "user" table "host", from
1. MySQL Common commands
Create database name; create a database
Use databasename; select database
Drop database name directly deletes the database, no reminder
Show tables; displays tables
Describe tablename; Detailed description of the table
Add
Grant wgdp user query permission: grantselectonwg_dp. * towgdp @ % IDENTIFIEDBYweigou123; other *. * toyangchao @ % login query other mysql user permissions: showgrantsforwgdp; cancel wgdp user permission: revokeallon
Grant wgdp user query
Installing MySQLsudoapt-getinstallmysql-server in the UbuntuLinux system should be simple, and I don't think there is much problem with installation, so I will not talk about it much. Let's talk about the configuration below. Configure MySQL. Note
Mysql 5.1
Create a user and authorize mysql:
Format: grant permission on database name. Table name to user @ login host identified by "User Password ";
Grant [English] [gr privileges: nt] acknowledge; agree; permit; grant;
Example 1: Allow mk users
Common MySql commands and basic mysql commands
Common MySQL database commands
1. MySQL Common commands
Create database name; create a database
Use databasename; select database
Drop database name directly deletes the database, no reminder
Show
Common commands for MySQL database operations and Common commands for mysql
Common commands for MySQL database operationsDOS Connection database1. Install MySQL to configure the environment2. Run the cmd command. net start mysql3. Find the root
Mysql database commands
Common MySQL commands
1. Connect to MySQL
Format: mysql-h host address-u user name-p User Password
1. Example 1: connect to MYSQL on the local machine.
First, open the DOS window, enter the directory mysqlbin, then type the
This article describes in detail the initial settings after installing the MySQL database in Ubuntu. 1. it should be easy to install MySQL, and I don't think there is much problem in the installation, so I will not talk about it much. Next let's
Installing Mysql-5.5.9 in Linux (40) creating users and user groups
Groupadd mysql
Useradd-g mysql
Download:Bison-2.5.tar.gzCmake-2.8.4.tar.gzM4-1.4.9.tar.gzMake-3.82.tar.gzMysql-5.5.9.tar.gzNcurses-devel-5.7-3.20090208.el6.i686.rpm
Mysql: isnotallowedtoconnecttothisMySQLserver This error occurs when you want to connect to your mysql:
ERROR 1130: Host '192. 168.1.3 'is not allowed to connect to this MySQL server
Solution:
1. Change the table. It may be that your account
Mysql creates a user to remotely log on to bitsCN.com
Mysql New user remote login
By default, users created in MYSQL cannot log on remotely.
You can log on to mysql using the root account and run the following command.
Grant all privileges
Add a new user to mysql and assign the permission bitsCN.com 1. start mysql in Ubuntu:
/Etc/init. d/sudo mysqld
2. add a user
Bin> mysql-u root
Mysql> grant permission 1, permission 2,... permission n on database name. table name to user name @
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.