01.01.2018, 04:24
Yes but given you have not posted your code, I can only assume that based on the logs you provided that you only print a message if the connection is successful, what happens if it's not successful? Are you printing a message then also?
Have a look through your MySQL log file as this should be giving you some form of error as to why a connection isn't being established.
Have a look through your MySQL log file as this should be giving you some form of error as to why a connection isn't being established.