Move database to another directory

Post Reply
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Move database to another directory

Post by happydg »

Hello,

I followed this article to move database to another directory and could restart mariadb succcessfully:

https://www.digitalocean.com/community/ ... n-centos-7

But when i go to my site it says, "Can't connect to database...".

Is there something to change in smartcj config?

Thank you.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Move database to another directory

Post by admin »

First of all try to connect to your DB server from command line

does it work ?
Don't forget to run script update
Post Reply