I try to switch jira from h2 -> mysql
mysql version is 5.7.19
jira version is -> 7.11
my database setup without issue with correct grant...
CREATE DATABASE jiradb CHARACTER SET utf8 COLLATE utf8_bin;
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,ALTER,INDEX on JIRADB.* TO jirasa@iiaabqzwebap01d.ia.doi.net IDENTIFIED BY 'passwordishere';
flush privileges;
I use the mysql-java connector mysql-connector-java-8.0.11.jar
my jira server is on iiaabqzwebap01d.ia.doi.net
I keep getting this following error to configure the db...
2018-07-25 09:32:27,644 JIRA-Bootstrap ERROR [c.a.config.bootstrap.DefaultAtlassianBootstrapManager] Could not successfully test your database:
java.sql.SQLSyntaxErrorException: Access denied for user 'jirasa'@'iiaabqzwebap01d.ia.doi.net' to database 'jiradb'
this is the show grant result from mysql
SHOW GRANTS FOR jirasa@iiaabqzwebap01d.ia.doi.net;
| GRANT USAGE ON *.* TO 'jirasa'@'iiaabqzwebap01d.ia.doi.net' |
| GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER ON `JIRADB`.* TO 'jirasa'@'iiaabqzwebap01d.ia.doi.net' |
so... please assist further