-
-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace sqlite3 with mysql on local development #1373
Comments
@koraylinux another option for using local ghost with mysql is to run |
@koraylinux should have asked also - is there something you're looking for us to fix in the CLI here? or is this more of a "if you'd like to use mysql instead, here's how you'd do it." |
There is no problem from your side. I tried to fix sqlite3 problem on my installation but failed so it's kinda way to avoid from sqlite. I did not know the --db prefix. Thanks for the tip! |
trying this method brings me to another error. This is may be silly but don't really fluent on mysql.
Message: connect ECONNREFUSED 127.0.0.1:3306 Debug Information: |
Many of us suffering sqlite3 installation on local envoriment so here is a quick solution to replace sqlite3 with mysql. Here's what i did:
After 3rd step, I encountered usual sqlite3 error and could not start the ghost. Now go ahead the directory where you install ghost and locate the file config.development.json. Open the file and replace the database section with this.
In this example, i used ghostuser but you can choose anything you want.
Then i started the ghost with
ghost start
and it worked.The text was updated successfully, but these errors were encountered: