Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

MySQL setup not saved, in Linux installation of confluence

jilong sun January 20, 2018

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:

 

confluence.cfg.xml.png

 

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 22, 2018

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.

Regards,

Shannon

jilong sun January 22, 2018

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:

Untitled.png

 

Here are the log screens:

log1.pnglog2.png

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 22, 2018

Hi,

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?

Regards,

Shannon

jilong sun January 22, 2018

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

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 23, 2018

Glad to hear!

Take care and have a pleasant rest of your week.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events