安裝wamp, mysql默認密碼爲空,修改密碼:html
update mysql.user set authentication_string=password('root') where user='root' ;mysql
flush privileges;sql
參考連接: http://www.cnblogs.com/sjxx/p/5550186.htmlhtm