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?
It seems that the database setup information(connection string, username, pass) are not saved into the confluence.cfg.xml successfully. as below:
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
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
- Run the '
mysql
' command as a MySQL super user. The default user is 'root' with a blank password.Create an empty Confluence database schema (for example
confluence
):CREATE DATABASE <database-name> CHARACTER SET utf8 COLLATE utf8_bin;
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot, @Shannon S. After I set up a DB user with complete permission, this issue has been fixed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to hear!
Take care and have a pleasant rest of your week.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.