PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By

Solved
Solved
hserrouya

Jun 24th, 2024 09:45 AM

Hi, Using the deployment button to DO, it creates a PostgreSQL DB. It is possible to use Mysql Instead? Thanks

bobbyiliev

Jun 25th, 2024 01:04 AM

Best Answer

Hi there,

Yep, absolutely!

You can create a managed MySQL cluster:

How to Create MySQL Database Clusters

And then add that cluster to your app:

Add a Database to an App Using the Control Panel

Then you would need to just update your environment variables to use the new cluster rather than the dev postgres database.

You could also do that via your App Spec file if you prefer, you could refer to the exact syntax here:

https://docs.digitalocean.com/products/app-platform/reference/app-spec/#yaml-file-structure

Hope that this helps!