I followed this tutorial to add a second blog to my server - and the nginx and ghost are working fine - but all the posts are shared.
I figured out that the (outdated) tutorial didn’t create a second MySql database for the second blog.
I am pretty comfortable with MySql and wondered is there is a sql script to create a the databse tables for the second blog?
Ubuntu
Ghost-CLI version: 1.13.1
Ghost version: 3.13.3 (at /var/www/redrungroup.com/ghost)
config.production.json for blog1
“database”: {
“client”: “mysql”,
“connection”: {
“host”: “localhost”,
“user”: “ghost”,
“password”: —",
“database”: “ghost_production”
}
},
config.production.json for blog2
“database”: {
“client”: “mysql”,
“connection”: {
“host”: “localhost”,
“user”: “ghost”,
“password”: —",
“database”: “ghost_production” <== should be something like ghost_production_blog2
}
}
thanks for any help.
-Peter