電腦教學

Home

B2D Linux

新增一個帳號【taiwan】,密碼【sijhih】,並用帳號【taiwan】管理資料庫【yes】,步驟如下:

1.使用root連接至mysql資料庫:

mysql -u root -p mysql

2.新增帳號【taiwan】,在mysql>提示符號,輸入:

grant all privileges on yes.*

to taiwan@localhost

identified by 'sijhih';