I hope I have posted this in the right forum category. I am getting this error (below) when trying to create two simple methods. Is there anything wrong with my methods or with my connection? Please explain it to me like I am five years old because I don't have much experience using Java with MySQL.
Exception in thread "main" Connection failed....