MySQL備忘

Ayning發表於2016-10-01

Access denied for user 'root'@'localhost'

>> 執行以下語句 

GRANT ALL ON dbname.* TO 'root'@'localhost' IDENTIFIED BY 'password';