I'm trying to use the Jira External Import tool to import data from Bugzilla 4.0.2 and can't seem to connect the Bugzilla MySQL instance. The bugzilla database I'm connecting to is hosted on the same server as the Jira installation, and is running a MySQL 5.0.67 database.
The steps taken to reproduce the issues are;
Jira Administration -> Import & Export -> External System Import -> Bugzilla
I enter the following information into the form; (NOTE: The MySQL database for bugzilla has the schema name 'bugs')
Bugzilla database URL: jdbc:mysql://localhost/bugs?autoReconnect=true&useUnicode=true
Database login name: root
Database login password: <root password="">
Driver name: com.mysql.jdbc.Driver
After clicking 'Next >>', the following error is displayed;
Errors
Could not connect to 'jdbc:mysql://localhost/bugs?autoReconnect=true&useUnicode=true&user=root&password=xxxxxx'
----------------
I'm able to connect to the MySQL database using the same credentials within MySQL Workbench.
Rob
In cases like this, we need to double check the credentials, but also if the server where Jira is installed is the same as the server where MySQL is installed since you're using localhost as URL.
Also, check if mysql is running on the default port.
Hope it helps for future cases!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.