我有个问题。我尝试配置Confluence,但是我不知道在第一步“配置数据库”中做了什么。我使用指令https://confluence.atlassian.com/doc/configuring-a-mysql-datasource-in-apache-tomcat-1867.html描述安装:
-CentOS Linux发行版7.0.1406
-confluence 5.9.8
-Server版本: 5.5.47-MariaDB MariaDB Server
-mysql-连接器-java-5.1.38-bin.jar
1条路:
--数据资源设置步骤和错误:
在这里输入图像描述2种方式:
1. Select "Direct JDBC Connection"
2. Enter
驱动类名= jdbc:mysql://localhost:3306/confluence?useUnicode=true&characterEncoding=utf8数据库URL = com.mysql.jdbc.Driver用户名=汇合点
然后单击“下一步”
“发生了以下错误:·configuring.db.failed·java.sql.SQLException:拒绝用户'confluence'@'localhost‘的访问(使用密码: NO)”
在这里输入图像描述
但是:
MariaDB (无)>显示用于“confluence”@“localhost”的赠款;+---------------------------------------------------------------------+@localhost@ +-----------------------------------------------------------------------汇合赠款------------------------------------------------+ \同意使用。通过密码'6498EC8B7A8C0138E99B1203CED08CF40ACF04B0‘而外,授予confluence__上的所有特权。转至“合流”@‘localhost’\+------------------------------------
救命啊!
发布于 2016-05-18 11:25:28
发布于 2018-12-04 17:04:27
安装用于汇合的袖珍查询https://marketplace.atlassian.com/apps/1211199/pocketquery-for-confluence下载驱动程序[https://dev.mysql.com/downloads/connector/j/][1]并添加到汇流的WEB/lib文件夹中
您应该能够使用JDBC选项和服务器jdbc:mysql://localhost:3306/mydb以及用户名和密码连接数据库。
https://stackoverflow.com/questions/36722843
复制相似问题