偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

授予MySQL用戶權(quán)限的語句

數(shù)據(jù)庫 MySQL
授予MySQL用戶權(quán)限,用戶才可以對數(shù)據(jù)庫進(jìn)行相應(yīng)的操作,下面就為您介紹一些授予MySQL用戶權(quán)限的語句,供您參考學(xué)習(xí)。

下面為您介紹的語句都是用于授予MySQL用戶權(quán)限,這些語句可以授予數(shù)據(jù)庫開發(fā)人員,創(chuàng)建表、索引、視圖、存儲(chǔ)過程、函數(shù)。。。等MySQL用戶權(quán)限。

grant 創(chuàng)建、修改、刪除 MySQL 數(shù)據(jù)表結(jié)構(gòu)權(quán)限。

grant create on testdb.* to developer@'192.168.0.%';
grant alter  on testdb.* to developer@'192.168.0.%';
grant drop   on testdb.* to developer@'192.168.0.%';

grant 操作 MySQL 外鍵權(quán)限。

grant references on testdb.* to developer@'192.168.0.%';

grant 操作 MySQL 臨時(shí)表權(quán)限。

grant create temporary tables on testdb.* to developer@'192.168.0.%';

grant 操作 MySQL 索引權(quán)限。

grant index on  testdb.* to developer@'192.168.0.%';

grant 操作 MySQL 視圖、查看視圖源代碼權(quán)限。

grant create view on testdb.* to developer@'192.168.0.%';
grant show   view on testdb.* to developer@'192.168.0.%';

grant 操作 MySQL 存儲(chǔ)過程、函數(shù)權(quán)限。

grant create routine on testdb.* to developer@'192.168.0.%';  -- now, can show procedure status
grant alter  routine on testdb.* to developer@'192.168.0.%';  -- now, you can drop a procedure
grant execute        on testdb.* to developer@'192.168.0.%';

以上就是MySQL用戶權(quán)限的語句介紹。

 

 

 

【編輯推薦】

mysql索引的不足

MySQL連接數(shù)據(jù)庫的命令

MySql連接字符串的說明

java操作mysql存儲(chǔ)過程示例

mysql觸發(fā)器new old介紹

 

責(zé)任編輯:段燃 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2010-10-12 16:02:00

MySQL用戶權(quán)限

2010-10-12 15:54:30

MySQL用戶權(quán)限

2021-12-27 10:56:10

MySQL數(shù)據(jù)庫命令

2010-10-14 09:52:35

MySQL命令行

2009-11-02 15:15:43

Oracle授予用戶權(quán)

2015-06-29 15:12:09

ORACLE賬號(hào)權(quán)限用戶權(quán)限

2014-10-24 09:55:12

FedoraDocker

2023-12-20 10:14:24

2019-02-28 09:30:04

Ubuntusudo命令

2010-10-12 16:21:49

MySQL用戶權(quán)限

2010-05-13 14:30:48

IIS服務(wù)器

2021-02-04 07:06:43

蘋果macOS漏洞

2020-11-26 06:30:53

MySQL數(shù)據(jù)權(quán)限

2023-03-20 07:48:03

2010-10-14 10:43:03

MySQL用戶權(quán)限

2019-06-25 15:18:54

MySQL數(shù)據(jù)庫表層

2010-06-07 21:01:45

管理員權(quán)限GPO

2010-10-12 16:35:05

MySQL用戶權(quán)限

2022-01-17 13:34:45

MySQLLinux數(shù)據(jù)庫

2010-10-14 11:25:39

點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)