I create a web site using PHP, Mysql. Sometime this show error message: 'mysqli::real_connect(): (HY000/2002): Connection refused'. How to fix it?
I create a web site using PHP, Mysql. Sometime this show error message: 'mysqli::real_connect(): (HY000/2002): Connection refused'. How to fix it?
Run command:
sudo systemctl start mariadb
sudo service httpd start