mysql的错误及解决方法

来源:互联网 发布:soa是什么 知乎 编辑:程序博客网 时间:2024/06/05 11:55

1.error1042 cant get hostname for your address

在mysql的bin下运行netsh winsock reset后重启


2.error1045 access denied for user ’root‘@’loaclhost‘

mysql>update mysql.user set authentication_string=password('123qwe') where user='root' and Host ='localhost';


3.Warning about SSL connection when connecting to MySQL database

url应改为jjdbc:mysql://localhost:3306/exp?characterEncoding=utf8&useSSL=true

0 0
原创粉丝点击