Unable to connect to the MySQL server:
org.netbeans.api.db.explorer.DatabaseExceptionThe server may not be running or your MySQL connection properties
may not be set correctly.Do you want to edit your MySQL connection pro
我正在尝试在ubuntu服务器17.04上设置mysql,这样我就可以远程访问它了。目前它已经启动并运行,我可以在本地访问它,或者如果我首先使用SSH,但是当我尝试在我的linux mint机器上使用mysql -h <ip> -u <admin> -p进行连接时。它给了我ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', s
我通过Cygwin安装了MySQL。$ which mysql如果输入第一行,它将提示输入密码,但提示符不接受任何密码,也不移动。$ mysql -u root -p -h 127.0.0.1ERROR 2003 (HY000): Can't connect to MySQL server onconnect to local MySQL</