How to use mysql server on domain.pages.dev

i am not able to use mysql server on domain.pages.dev

Could you clarify what you mean?

You can’t run, nor connect, to MySQL with Pages.

i want to use mysql on domain.pages.dev

Unless your MySQL has a HTTP REST API infront of it, Pages (Functions) would be unable to talk to it as they can only fetch() HTTP or HTTPS.

then how can i install it on domain.pages.dev

You can’t run MySQL on Pages - you can only run MySQL yourself and put a REST API in-front of it that a Pages Function could speak to.

https://developers.cloudflare.com/pages/platform/functions/

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.