Git Product home page Git Product logo

Comments (19)

mustfun avatar mustfun commented on September 26, 2024 1

好像被我写死了,尴尬,太谢谢了,已经merge了

from mybatis-lite.

ATQQ avatar ATQQ commented on September 26, 2024

怎么解决的这个问题呢

from mybatis-lite.

mustfun avatar mustfun commented on September 26, 2024

@lilianchuang 写定了3306,你可以改呀,不是写死的

from mybatis-lite.

lilianchuang avatar lilianchuang commented on September 26, 2024

怎么解决的这个问题呢

看代码里目前只能是使用3306端口,接受了配置端口参数但是没有使用

from mybatis-lite.

lilianchuang avatar lilianchuang commented on September 26, 2024

@lilianchuang 写定了3306,你可以改呀,不是写死的
public DbUtil(String url, String dbName, String userName, String password){ this.url = jdbc:mysql://"+url+":3306/"+dbName+"useUnicode=true&characterEncoding=utf8&autoReconnect=true&failOverReadOnly=false"; this.username = userName; this.password = password; }
我没看错吧,我提了一个合并请求,你帮忙看一眼有没有问题

from mybatis-lite.

lilianchuang avatar lilianchuang commented on September 26, 2024

@lilianchuang 写定了3306,你可以改呀,不是写死的

顺带再提一个问题,端口使用3306之后,本地可以正常连接了,但是点击生成按钮之后没有反应,接下来该怎么处理呢?idea版本2018.3.3,有劳了

from mybatis-lite.

mustfun avatar mustfun commented on September 26, 2024

@lilianchuang 看下有下角有没有报错哈,有个闪动的感叹号,然后错误信息贴一下,谢谢

from mybatis-lite.

lilianchuang avatar lilianchuang commented on September 26, 2024

@lilianchuang 看下有下角有没有报错哈,有个闪动的感叹号,然后错误信息贴一下,谢谢

没有报错

from mybatis-lite.

mustfun avatar mustfun commented on September 26, 2024

@lilianchuang 看下有下角有没有报错哈,有个闪动的感叹号,然后错误信息贴一下,谢谢

没有报错

换个生成的位置试试哈,没有报错很难排查呀,是你自己重新编译后的插件吗?

from mybatis-lite.

lilianchuang avatar lilianchuang commented on September 26, 2024

@lilianchuang 看下有下角有没有报错哈,有个闪动的感叹号,然后错误信息贴一下,谢谢

没有报错

换个生成的位置试试哈,没有报错很难排查呀,是你自己重新编译后的插件吗?

插件在线安装的,版本1.0.8的,看了idea.log里面也没有报错,早晨重试的时候就换了位置,同时也发现个问题,包名命名的很深的话识别不出来mapper什么的,换成两层的话mapper,service什么的包基本都能扫描匹配出来

from mybatis-lite.

abdulla1992 avatar abdulla1992 commented on September 26, 2024

插件是真的好用,但是这两天又开始提示数据库连接失败了 。我也没有更新idea。版本2018.3.4(Ultimate Edition) ,提示数据库连接失败 ,左下角event没有任何信息,望大佬看一看,辛苦了,非常感谢

from mybatis-lite.

lilianchuang avatar lilianchuang commented on September 26, 2024

@mustfun 调试了一下 插件运行时 找不到mysql driver

from mybatis-lite.

liweichuan avatar liweichuan commented on September 26, 2024

@mustfun 连接数据库提示,连接数据库失败,但是我在data sources and drivers里面能够手动连接到数据库。

from mybatis-lite.

snyanger avatar snyanger commented on September 26, 2024

idea 2019.3提示数据库连接失败,navicat和database可以连上,也没有详细报错信息不知道什么问题

from mybatis-lite.

yiou362 avatar yiou362 commented on September 26, 2024

你好,请问还维护吗,idea2019.3.3使用1.0.15报数据库连接失败,没有任何提示,输入的信息是无误可连的

from mybatis-lite.

yiou362 avatar yiou362 commented on September 26, 2024

@mustfun 麻烦把com.mysql.jdbc.Driver也支持上把,我改了源码但是报PluginClassLoader错误,还是得请大佬支持上

from mybatis-lite.

mustfun avatar mustfun commented on September 26, 2024

@liangyou362 麻烦告知一下mysql版本哈

from mybatis-lite.

yiou362 avatar yiou362 commented on September 26, 2024

@mustfun mysql5.1驱动是com.mysql.jdbc.Driver,看了源码只支持com.mysql.cj.jdbc.Driver

from mybatis-lite.

mustfun avatar mustfun commented on September 26, 2024

@mustfun mysql5.1驱动是com.mysql.jdbc.Driver,看了源码只支持com.mysql.cj.jdbc.Driver
试试离线安装一下github release页1.0.15版本,改了驱动版本,刚刚上传的

from mybatis-lite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.