Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hi, I just follow this tutorial to change mysql data directory to new location https://www.digitalocean.com/community/tutorials/how-to-change-a-mariadb-data-directory-to-a-new-location-on-centos-7
Now mysql is running in the new location, but my application still unable to connect to the mysql server with this error:
A PHP Error was encountered
Severity: Warning
Message: mysqli::real_connect(): (HY000/2002): Connection refused
Filename: mysqli/mysqli_driver.php
Line Number: 201
I tried to login via PHPMyAdmin got this error:
#2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) — The server is not responding (or the local server's socket is not correctly configured).
hbarnard
keneucker
keneucker
rich
santoshpatil
Aspiresoftserv
Yakin
Thejaswini-Rao-U
775c69c916d345a7a367d867078ccb
mayricoak
ndam
bc2f52583874402a988f587c00195d