美文网首页
myql Exception in thread "main"

myql Exception in thread "main"

作者: hi_universe | 来源:发表于2022-08-02 22:26 被阅读0次
    报错信息 加载的mysql-connect 版本号-》5.1.37 本地数据库的版本号

    原因:mysql-connector-java 的版本号和本地数据库版本号不一致导致的问题

    解决方法:下载本地版本一致的jar包

           如:https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-8.0.30.zip

    注意:下载的jar包需要右键 add as libarary 

    安装的包 加载包到module libary  ->name = lib

    相关文章

      网友评论

          本文标题:myql Exception in thread "main"

          本文链接:https://www.haomeiwen.com/subject/ntgjwrtx.html