I’m not sure if I originally configured this or if this is the default. My my.cnf file had this line in it which configures mysql to only listening for incoming connections from localhost and ignores all remote connections:
bind-address = 127.0.0.1
Changing this to be the real ip of the server will allow it to listen for remote connections.