Question

How do I set up a new mysql instance for a second ghost blog?

I set up a one-click ghost install droplet to support two domains with unique blogs, following How to serve multiple ghost blogs on one vps (now quite out of date). The problem is that the tutorial references sqlite3. Has anyone done this recently with mysql?

Here’s what one sees:

database: {

            // This part was prepared during first boot by DigitalOcean's 1-Click first-provisioning
            // This section is unique to this droplet
            client: 'mysql',
                connection: {
                  host     : '127.0.0.1',
                  user     : 'ghost',
                  password : 'xxxxxxx',
                  database : 'ghost',
                  charset  : 'utf8'
            // End of per-droplet configuration
            },
            debug: false
        },

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @noyce,

With Digiatlocean marketplace, you will now be able to install ghost with MySQL in one click.

For more information: https://marketplace.digitalocean.com/apps/ghost

Regards, Rajkishore