MySQL setup not saved, in Linux installation of confluence

I started the linux installation , after mysql database is set up successfully, I am directed to a blank page, seems not successful. I have attached the screen as below, any thought?

Untitled11.pngIt seems that the database setup information(connection string, username, pass) are not saved into the confluence.cfg.xml successfully. as below:




1 answer

0 vote

Hi Jilong,

When you tested the connection first, did it work properly?

I would recommend following the suggestion by Luiz on this similar question. Additionally, you can tail your Confluence Server logs to see what the problem might be, but it definitely seems that it's having an issue connecting to your MySQL server.



The MySQL server is available and I can ping it. I removed the log file: atlassian-confluence.log, and restarted the confluence service, and re-configure the database again, after connection string information is set and go to next step, it goes to the error page:



Here are the log screens:



Can you check Nic's response on this answer and make sure you have the correct permissions for your database user?

Have a look at this as well: Database Setup for MySQL for the user requirements:

3. Create database and database user

Once you've installed and configured MySQL, create a database user and database for Confluence as follows:

  1. Run the 'mysql' command as a MySQL super user. The default user is 'root' with a blank password.
  2. Create an empty Confluence database schema (for example confluence):

    CREATE DATABASE <database-name> CHARACTER SET utf8 COLLATE utf8_bin;
  3. Create a Confluence database user (for example confluenceuser):

    GRANT ALL PRIVILEGES ON <database-name>.* TO '<confluenceuser>'@'localhost' IDENTIFIED BY '<password>';

    If Confluence is not running on the same server, replace localhost with the hostname or IP address of the Confluence server. 

Lastly, can you confirm your MySQL version?



Thanks a lot, @Shannon Spaniol. After I set up a DB user with complete permission, this issue has been fixed.

Glad to hear!

Take care and have a pleasant rest of your week.



Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

262 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you