Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/76.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql 设置汇流JDBC连接_Mysql_Sql_Database_Jdbc_Confluence - Fatal编程技术网

Mysql 设置汇流JDBC连接

Mysql 设置汇流JDBC连接,mysql,sql,database,jdbc,confluence,Mysql,Sql,Database,Jdbc,Confluence,我正在尝试安装新的confluence,数据库位于同一台服务器上,并且我已经正确安装了JDBC连接器。在进行数据库设置时,输入数据库用户名和密码时出现以下错误: Setup Database Failed The following error(s) occurred: Configuring the database failed. Couldn't create the database schema. java.sql.SQLException: Access denied for us

我正在尝试安装新的confluence,数据库位于同一台服务器上,并且我已经正确安装了JDBC连接器。在进行数据库设置时,输入数据库用户名和密码时出现以下错误:

Setup Database Failed

The following error(s) occurred:
Configuring the database failed. Couldn't create the database schema.
java.sql.SQLException: Access denied for user 'confluencedbuser'@'localhost' 
(using password: YES)
我已经检查并刷新了该用户的权限,并授予该数据库的所有权限。我不知道这里发生了什么。有什么想法吗?(谷歌的运气不太好)

非常感谢:)

编辑:

下面是atlassian-confluence.log的输出(如果有帮助的话)

2014-05-22 19:36:29,407 INFO [localhost-startStop-2][com.atlassian.confluence.lifecycle] contextDestroyed Stopping Confluence
2014-05-22 19:36:29,409 INFO [localhost-startStop-2] [atlassian.plugin.manager.DefaultPluginManager] shutdown Shutting down the plugin system
2014-05-22 19:37:05,089 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.5.1 [build 5509 based on commit hash df269dcb09b33d7c337c07d822c97aeb564430a7]
2014-05-22 19:37:07,630 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] init Initialising the plugin system
2014-05-22 19:37:07,697 WARN [localhost-startStop-1] [org.twdata.pkgscanner.InternalScanner] findInPackage Unable to find any resources for package 'bucket*'
2014-05-22 19:37:08,552 WARN [localhost-startStop-1] [org.twdata.pkgscanner.InternalScanner] findInPackage Unable to find any resources for package 'org/xml'
2014-05-22 19:37:13,422 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:00:05.790

您是否尝试使用另一个客户端连接到db,然后使用confluence?@deterministicFail否,您建议最好的方法是什么?只需从另一个客户端(如SQLYG或mysql workbench)测试与该用户的连接。如果您仍然无法连接,这是您必须在数据库中解决的问题,否则这是的配置问题confluence@deterministicFail尝试使用sequel pro并得到以下结果:无法连接到主机[Censered hostname],因为访问被拒绝。仔细检查您的用户名和密码,确保允许从当前位置访问。MySQL说:用户“confluencedbuser”@“localhost”(使用密码:YES)的访问被拒绝@deterministicFail奇怪的是,我刚刚重置了密码,现在它工作了。我使用了完全相同的密码。这是一个生成的密码,每次只需复制粘贴即可。谢谢你的帮助!