創(chuàng)建數(shù)據(jù)庫(kù)
CREATE DATABASE testDB;
創(chuàng)建用戶
create user test IDENTIFIED by 123456;
授權(quán)
grant all privileges on testDB.* to test;
flush privileges;
其他授權(quán)命令
查看授權(quán)
show grants for test;
收回授權(quán)
revoke select on testDb.* from test;
標(biāo)簽:
- 版權(quán)所有:奇站網(wǎng)絡(luò) 轉(zhuǎn)載請(qǐng)注明出處
- 廈門奇站網(wǎng)絡(luò)科技有限公司,專業(yè)提供網(wǎng)站建設(shè),響應(yīng)式網(wǎng)站建設(shè),小程序開發(fā),系統(tǒng)定制開發(fā)。
- 軟件開發(fā)咨詢熱線:吳小姐 13313868605