一、Error1mysql
Error:「Access denied for user 'root'@'localhost' (using password:YES)」sql
解決:在mysql安裝目錄下的"my.ini"文件中,在塊「[mysqld]」後添加 「skip-grant-tables」。 "skip-name-resolve"(這句貌似不用寫)server
二、Error2ip
Error:"Lost connection to MySQL server at 'reading initial communication packet, system error: 0"it
解決:關閉mysql所在電腦上防火牆、殺毒軟件等io