2012-08-22 24 views
1

數據庫我有一個問題:我怎樣才能在mysql中創建一個數據庫,如果我不是root?我知道要創建一個數據庫,用戶必須具有創建數據庫特權,但我不知道如何從root授予該特權。你能幫我特定的命令嗎?提前致謝!在MySQL中建立

+1

http://dev.mysql.com/doc/refman/5.0/en/creating-database.html試試閱讀:)希望它有幫助。 –

回答

0

給特權用戶這樣。

grant all on dba.* to 'wim'@'localhost';