【jira】重新安装, 报错“您指定的数据库, 不为空, 请指定空数据库“

1. 问题

这个问题是因为我重新安装, 没删除原来的数据库

 

 

2. 处理方法

因为存在相同的数据库,没清空, 然后删除重建即可

mysql -h localhost -u root -p
create database jira default character set utf8 collate utf8_bin;
CREATE USER 'jira'@'localhost' IDENTIFIED BY 'jirapasswd';
GRANT ALL PRIVILEGES ON jira.* TO 'jira'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;

 

3. 重新测试连接即可

 

 

 

 

 

 

参考链接:

https://blog.csdn.net/kkklebron/article/details/107981883

https://confluence.atlassian.com/adminjiraserver/connecting-jira-applications-to-a-database-938846850.html#ConnectingJiraapplicationstoadatabase-UpgradingJiraormigratingJiratoanotherserver?

https://confluence.atlassian.com/adminjiraserver/connecting-jira-applications-to-mysql-8-0-1018775461.html

posted @ 2022-03-30 21:17  代码诠释的世界  阅读(1215)  评论(0编辑  收藏  举报