问题描述:在学习jdbc时,在命令符连接Mysql时遇到:ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)的报错问题。 如下图: 解决方法: