成人AV在线无码|婷婷五月激情色,|伊人加勒比二三四区|国产一区激情都市|亚洲AV无码电影|日av韩av无码|天堂在线亚洲Av|无码一区二区影院|成人无码毛片AV|超碰在线看中文字幕

mysql創(chuàng)建用戶表 mysql數(shù)據(jù)庫怎么創(chuàng)建新用戶?

mysql數(shù)據(jù)庫怎么創(chuàng)建新用戶?1. 用administrator登錄MySQL2。創(chuàng)建數(shù)據(jù)庫db013。Create user只能在本地訪問user01Create user user01@“l(fā)oc

mysql數(shù)據(jù)庫怎么創(chuàng)建新用戶?

1. 用administrator登錄MySQL

2。創(chuàng)建數(shù)據(jù)庫db01

3。Create user

只能在本地訪問user01

Create user user01@“l(fā)ocalhost”由“password1”標(biāo)識(shí)

user02可以遠(yuǎn)程訪問

Create user user02@“%”由“password1”標(biāo)識(shí)

4。Modify user01 password

為“user01”@“l(fā)ocalhost”=密碼(“password2”)設(shè)置密碼

5。Authorize

a),user01管理db01的所有權(quán)限

授予db01的所有權(quán)限。*對(duì)user01

b),user02查看權(quán)限并修改密碼

授予select on*。*到“user02”@“%”由“password2”

mysql如何創(chuàng)建新用戶,例如創(chuàng)建一個(gè)sss密碼為123的用戶?

MySQL add user method create database gamesp add user grant all on database name user name@localhost由“password”標(biāo)識(shí)grant all on gamesp。*至newuser@localhost通過“password”添加一個(gè)遠(yuǎn)程用戶,名為user name,password為passwordgrant all privileges on*。*對(duì)用戶名@“%”由“password”標(biāo)識(shí)注意:(1)授予所有權(quán)限;(2)gamesp。*數(shù)據(jù)庫gamesp(3)newuser name(4)@localhost中的所有表在本地計(jì)算機(jī)(5)上設(shè)置MySQL服務(wù)器上的密碼,標(biāo)識(shí)為“password”