日本三级片在线观看视频_西西大胆午夜人体视频无码_少妇无码一区二区_亚洲天堂超碰_极品少妇被猛的白浆直流_91精品云霸高清中文字幕_草草五月天伊人_久久少妇无码专区_欧美激欧美啪啪5老太_日韩在线在线成人

MySQL命令行創(chuàng)建用戶

2016-03-22 15:47:47 10991

第一步:mysql -u root -p

第二步:進(jìn)入根用戶use mysql

第三步:創(chuàng)建用戶名create user username;(相當(dāng)于grant select,insert,update,delete on *.* to user1@localhost Identified by "password1";

第四步:給用戶賦登錄密碼update.user set password=password('password1') where user="username"; 也可以在root用戶下用此命令修改其他數(shù)據(jù)庫密碼

第五步:給用戶授予所有的權(quán)限grant all privileges on *.* to username@"%" Identified by "password1" with grant option;

123.png


提交成功!非常感謝您的反饋,我們會繼續(xù)努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務(wù),我們很需要您進(jìn)一步的反饋信息:

在文檔使用中是否遇到以下問題: