Can we configure Frappe Framework to connect with Hosted MySQL?

Instead of using MySQL and Frappe Framework installed in same VSP can we setup Frappe Framework to connect to third-party hosted MySQL?

If YES then how?

I am planning to use PlanetScale as database back-end.

Here is the URL of PlanerScale: https://planetscale.com/

Regards,

Hi @yogeshvachhani this can be done. all you need to do is conifure the site_config.json and the common_site_config.json to point to the Mysql instance

and you might need to configure planetscale to allow connections from the server that you are hosting.

if you provide more information I will help you to get this done

1 Like

Take a look here:

Hope this helps.

1 Like