Troubleshooting of MySQL errors: Difference between revisions
Jump to navigation
Jump to search
→ERROR 2002: Cannot connect: SQLSTATE[HY000] [2002]
| Line 398: | Line 398: | ||
</pre> | </pre> | ||
* If still not work, reboot the server and restart the MySQL service. | * If still not work, reboot the server and restart the MySQL service. | ||
== ERROR 2002: Cannot connect: SQLSTATE[HY000] [2002] Only one usage of each socket address (protocol/network address/port) is normally permitted == | |||
Message: (1) [2002] Only one usage of each socket address (protocol/network address/port) is normally permitted (2) "SQLSTATE[HY000] [2002] 一次只能用一個通訊端位址 (通訊協定/網路位址/連接埠)。" in Chinese | |||
Solution: [https://stackoverflow.com/questions/10317974/mysql-php-error2002-only-one-usage-of-each-socket-address-protocol-network-a MySQL/PHP Error:[2002] Only one usage of each socket address (protocol/network address/port) is normally permitted - Stack Overflow] | |||
== ERROR 2003 (HY000): Can't connect to MySQL server on 'ip' == | == ERROR 2003 (HY000): Can't connect to MySQL server on 'ip' == | ||