datagrip无法连接服务器数据库
刚租了一台阿里云的服务器,系统是全裸ubuntu,自己下载了mysql,建了demo库,用datagrip进行测试连接,却一直报错
错误代码【08s01】Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
网上搜了很多方法,注释掉了127.0.0.1,也赋了权限,防火墙也是关的。一开始安装好mysql后并没有用户密码登陆,现在也没设置过
怎么解决
你先在服务器上用MySQL命令连接数据库,看能否连上