Hi everyone. I have run into a problem while hosting multiple ghost sites on a shared hosting (namecheap stellar plus). These are low traffic non-membership sites.
I have a main domain abc.com with shared hosting.
I have two addon websites pqr.com & xyz.com on which I want to install ghost.
Their respective directories with 755 access are /home/abc/pqr & /home/abc/xyz
Installing ghost on xyz successfully
- creating a node 18 app
- in the terminal, installing ghost cli, then rm -rf *, then ghost install local
- changing the url in the config file from localhost to the website url
I am repeating the same steps for pqr, I get this error on ghost install local step:
Ghost was able to start, but errored during boot with: Access denied for user ‘root’@‘localhost’ (using password: NO)
On checking, it is not able to generate ghost-local.db in the folder /contents/data/
What do I do?
(If I do ghost install instead of ghost install local, I get the sudo-root error which might be due to shared hosting instead of VPS, so I went the ghost install local way).