Skip to content

How to run PlanetScale as database for Ghost CMS? #88

Answered by jgreet
uncvrd asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @uncvrd 👋 I don't have any previous experience with Ghost so it's possible I'm missing something, but it looks there are at least a couple of big blockers here.

  1. It doesn't appear that there's a ghost CLI option to run the initial setup without attempting to create the database, or any other built-in workaround for the problem you encountered.

  2. To see what might be possible, I installed Ghost locally and dumped the database schema. Seems like it makes heavy use of foreign key constraints, a feature we don't support on PlanetScale (see #74). Attempting to import this schema directly will also fail.

$ mysqldump -u root --no-data ghost_dev > ghost_dev_schema.sql
$ pscale shell ghost s…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@muhaimincs
Comment options

@StarryFire
Comment options

@jgreet
Comment options

Answer selected by jgreet
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants