开发者社区 问答 正文

mysql 迁移到mariadb,openfire(jdbc)如何做?

环境:debian7,mariadb10,jre7,openfire3.9,mariadb-java-client-1.1.7.jar.
将mariadb-java-client-1.1.7.jar更名为mariadb.jar,导入到user/local/openfire/lib.
localhost:9090填写 org.mariadb.jdbc.Driver
jdbc:mariadb://localhost:3306/openfire?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8
驱动框显示错误
Unable to load the specified JDBC driver. Please verify the name of the driver is correct and that the driver is in the classpath of this server (usually the 'lib' directory). If you add a driver to your classpath you will neeed to restart the server.
想问各位朋友怎么解决?

展开
收起
落地花开啦 2016-02-25 18:08:36 3408 分享 版权
1 条回答
写回答
取消 提交回答
  • 喜欢技术,喜欢努力的人

    在管理后台:9090把语言改为英语,mariadb直接用mysql的驱动包就好。

    2019-07-17 18:47:49
    赞同 展开评论