When the Mycheckpoint is installed, this secret is discovered when the user is given permission to do so:
Copy Code code as follows:
Mysql>
Mysql> GRANT all privileges in mycheckpoint.* to ' mycheckpoint_user ' @ ' localhost '
In MySQL, how to give ordinary users permission to view all user threads /connections, of course, show processlist is able to view the current user's thread/connection by default.Mysql> Grant Process on mydb.* to test;ERROR 1221 (HY000): Incorrect
MySQLStudy-MySQL User and permission management MySQL server uses the MySQL permission table to control user access to the database. the MySQL permission table is stored in the mysql database and initialized by the mysql_install_db script. These
MySQL user's permission to EXECUTE stored procedures bitsCN. comMySQL EXECUTE the stored procedure permission as EXECUTE
For example, you have created the following stored procedure in a database named configdb. the stored procedure is defined as
In MySQL, the user's permission to EXECUTE stored procedures is EXECUTE.
For example, you have created the following stored procedure in a database named configdb. The stored procedure is defined as user_admin.
Use configdb;
Drop procedure if exists
In MySQL, the user executes the stored procedure as EXECUTE. For example, we created the following stored procedure in the database named configdb. The stored procedure is defined as user_adminuseconfigdb; dropprocedureifexistssp_dev_test_user_add;
In MySQL, the user's permission to EXECUTE stored procedures is EXECUTE.For example, you have created the following stored procedure in a database named configdb. The stored procedure is defined as user_admin.Use configdb;Drop procedure if exists sp_
Show open tables;Based on my use of MySQL, the commonly used MySQL show statements are listed as follows:1.show databases; Displays the names of all databases in MySQL2.show tables [from database_name]; Displays the names of all tables in the
MySQL's show statement Daquanhttp://blog.163.com/yang_jianli/blog/static/16199000620106223253773/MySQL's show statement Daquan2010-07-02 14:32:53| Category: mysql | Tags: show Statements mysql | report | font size subscription
The MySQL privilege system (controlled by MySQL permissions table user and DB) is certified in the following two ways:1) for the connected users to authenticate, legitimate through authentication, illegal to deny the connection.2) for the user who
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.