spawpaw / mybatis-generator-gui-extension

图形化MBG,内置丰富插件,可生成Service、Controller、View,配置简单。 A powerful GUI tool for MyBatisGenerator(MBG)
Other
642 stars 233 forks source link

CLIENT_PLUGIN_AUTH is required #34

Open ro1992613 opened 5 years ago

ro1992613 commented 5 years ago

I'm submitting a...

Current behavior

java版本1.8.0_121 mysql版本5.5.6 错误信息:java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required

Environment

JDK Version:

Database:

Others:

ro1992613 commented 5 years ago

在使用5.xx的驱动并且把DatabaseType的MySQL("com.mysql.cj.jdbc.Driver", "jdb。。。。) 改为MySQL("com.mysql.jdbc.Driver", "jdb......)之后,正常

spawpaw commented 5 years ago

就这样先改数据库驱动版本吧,等我有时间把数据库驱动改成动态加载