Discover grant select on database, include the articles, news, trends, analysis and practical advice about grant select on database on alibabacloud.com
Command summary for operating MySQL in Linux Command lines
(Note: commands in the MySQL environment are followed by a semicolon as the command Terminator)
1. commands for starting MySQL in Linux:
Mysqladmin start/Ect/init. d/mysql start (the
How to connect to mysql using cmd
Connection: mysql-h host address-u user name-p user password (note: u and root do not need to add spaces, the same is true for others)Disconnected: exit (press enter)
Create authorization: grant select on database. *
Linux MySQL commands to: http://my.oschina.net/wangwang110/blog/11108
The database is under/var/lib/mysql by default.
1. commands for starting mysql in linux:Mysqladmin start/Etc/init. d/mysql start (the installation path of mysql is earlier)
2.
1. Mysql user adding format: grantselecton database. * to "username" @ "Login host" identifiedby password; example 1. Add a user test1.
1. Mysql user adding format: grant select on database. * to "username" @ "Login host" identified by password;
Connection: Mysql-h host address-u user name-P user Password (note: U and root can be without spaces, others are the same)Disconnect: Exit (Enter)
Create authorization: Grant SELECT on database. * To User name @ login host identified by \ "Password
Tag:ext include about window assign ABC Data Sheet group common Common MySQL command Daquan One, the connection MySQL format: mysql-h host address-u user name-p user Password 1, example 1: Connect to the local MySQL.
1.linux commands to start MySQL:Mysqladmin start/ect/init.d/mysql start (front of MySQL installation path)2.linux Restart MySQL command:Mysqladmin restart/ect/init.d/mysql Restart (front of MySQL installation path)3.linux the command to turn off
1.linux commands to start MySQL:Mysqladmin start/ect/init.d/mysql start (front of MySQL installation path)2.linux Restart MySQL command:Mysqladmin restart/ect/init.d/mysql Restart (front of MySQL installation path)3.linux the command to turn off
Connection: Mysql-h host address-u user name-P user Password (note: U and root can be used without spaces, others are the same)Disconnect: Exit (Enter)Create authorization: Grant SELECT on database. * To User name @ login host identified by \
Connection: Mysql-h host address-u user name-P user Password (note: U and root can be used without spaces, others are the same)Disconnect: Exit (Enter)Create authorization: Grant SELECT on database. * To User name @ login host identified by \
Connection: Mysql-h host address-u user name-P user Password (note: U and root can be used without spaces, others are the same)Disconnect: Exit (Enter)Create authorization: Grant SELECT on database. * To User name @ login host identified by \
Check out some MySQL commands in Linux: (Note: commands in the MySQL environment are followed by a semicolon as a command terminator)Remote connection command:Mysql-h 192.168.0.201-p 3306-u root-p123command to start MySQL: mysqladmin
1.linux commands to start MySQL:Mysqladmin start/ect/init.d/mysql start (front of MySQL installation path)2.linux Restart MySQL command:Mysqladmin restart/ect/init.d/mysql Restart (front of MySQL installation path)3.linux the command to turn off
1.linux commands to start MySQL:Mysqladmin start/ect/init.d/mysql start (front of MySQL installation path)2.linux Restart MySQL command:Mysqladmin restart/ect/init.d/mysql Restart (front of MySQL installation path)3.linux the command to turn off
This article transferred from: http://www.cnblogs.com/xiaochaohuashengmi/archive/2011/10/18/2216279.html1.linux commands to start MySQL:Mysqladmin start/ect/init.d/mysql start (front of MySQL installation path)2.linux Restart MySQL
One, connect MySQLFormat: mysql-h host address-u user name-P user Password1. Example 1: Connect to MySQL on this machine.First open the DOS window, and then enter the directory Mysqlbin, and then type the command mysql-uroot-p, enter after the
Linux mysql Operations Command "go to source"1.linux commands to start MySQL:Mysqladmin start/ect/init.d/mysql start (front of MySQL installation path)2.linux Restart MySQL command:Mysqladmin restart/ect/init.d/mysql Restart (front of MySQL
Linux under MySQL operation command One, connect MySQLFormat: mysql-h host address-u user name-P user Password1. Example 1: Connect to MySQL on this machine.First open the DOS window, and then enter the directory Mysqlbin, and then type the command
Linux mysql Operations Command1.linux commands to start MySQL:Mysqladmin start/ect/init.d/mysql start (front of MySQL installation path)2.linux Restart MySQL command:Mysqladmin restart/ect/init.d/mysql Restart (front of MySQL installation
1.linux commands to start MySQL:Mysqladmin start/ect/init.d/mysql start (front of MySQL installation path)2.linux Restart MySQL command:Mysqladmin restart/ect/init.d/mysql Restart (front of MySQL installation path)3.linux the command to turn off
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.