Hi Akash,
On this link you will find all details about setup mysql for Confluence. Actually, it works to Linux and Microsoft as well.
However, if you are facing any error message, could you share it with us?
In addition, on CentOS you only need to make sure you don't have any firewall blocking the MySQL or Confluence ports. Also, check if SeLinux is enable.
On this link you can check about firewall and on this another one you will find information about SeLinux.
Hope it helps.
Renato Rudnicki
It looks like you're new here. Sign in or register to get started.