这里写自定义目录标题
- MYSQL问题综述(后期持续更新)Can't get hostname for your address
- 经常遇到标题错误Can't get hostname for your address
- 数据库2003-Can't connect to MySQL server on 'localhost'(10061)问题
- 数据库java.sql.SQLException: The server time zone value '?D1ú±ê×?ê±??' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
MYSQL问题综述(后期持续更新)Can’t get hostname for your address
经常遇到标题错误Can’t get hostname for your address
右键开始菜单
点击windows powershell(管理员)
输入如下命令。 netsh winsock reset
然后问题解决,不行的话关闭mysql服务然后再来一次,实在不行就重启,然后再搞。
数据库2003-Can’t connect to MySQL server on ‘localhost’(10061)问题
开始我并不知道怎么解决,有时候过了一天就好了,直到有一天遇到错误在找项目的时候看服务的时候发现没有开启mysql服务
解决方案:
右键开始菜单,选择计算机管理 服务与应用程序,然后找到mysql右键开启就行了,这只是我的解决方案,我遇到的问题。
数据库java.sql.SQLException: The server time zone value ‘?D1ú±ê×?ê±??’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
这个问题我在springboot项目的时候遇到过,由于设置了时区和一些乱起八糟的东西。
解决方案:
直接找到MYSql命令set global time_zone=’+8:00’;
别忘了加;