Joao Pereira
New Pleskian
Hi!
Mounted a new disk under /mnt/data
Just synced with rsync my mariadb to the new location:
And then i've updated my my.conf with the new directory
Tried to start mariadb, but only achieved that when i disabled SELinux. Don't know why.
Now i have my database running, but plesk is giving:
Server Error
500
Zend_Db_Adapter_Exception
SQLSTATE[HY000] [2002] No such file or directory
Anyone has a clue how to fix it?
Thanks,
Mounted a new disk under /mnt/data
Just synced with rsync my mariadb to the new location:
Code:
sudo rsync -av /var/lib/mysql /mnt/data
And then i've updated my my.conf with the new directory
Code:
sudo nano /etc/my.cnf
Tried to start mariadb, but only achieved that when i disabled SELinux. Don't know why.
Now i have my database running, but plesk is giving:
Server Error
500
Zend_Db_Adapter_Exception
SQLSTATE[HY000] [2002] No such file or directory
Anyone has a clue how to fix it?
Thanks,