With pinggy.io you can share your MySQL server from localhost with just a single command. Replace the port 3306 with the port where your server is running.
Pinggy will give you a URL like tcp://ranfjyszvqyxz.a.pinggy.link:42555
. Use this URL to access the server.