I'm not able to connect to my database and I can't figure out what could be the problem. I made a backup of the confluence.cfg.xml file and restored it, but it doesn't seem like that's the cause.
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The above error was found in the catalina.out file.