开发者社区> 问答> 正文

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 3265 0
1 条回答
写回答
取消 提交回答
  • 喜欢技术,喜欢努力的人

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

    2019-07-17 18:47:49
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
搭建电商项目架构连接MySQL 立即下载
搭建4层电商项目架构,实战连接MySQL 立即下载
PolarDB MySQL引擎重磅功能及产品能力盛大发布 立即下载

相关镜像