Can I use Glitch as a MySQL database I can connect to remotley?


#1

Hi! I was wondering if I was able to run a MySQL server on Glitch and connect to it remotely (from my PC and another project).


#2

Hey @xXProGamerXx I’m fairly certain that won’t work. I don’t think MySQL will run successfully within the container, and even if you could make that work you’d have to change what port MySQL was listening on to match the port we expose, and I believe that requires root-level permissions (which you don’t have).

You might be able to proxy requests to a remotely-hosted MySQL instance, but then why not just connect to that instance.


#3

I was hoping to run MySQL inside the container. Thanks for the information anyway!