MySQL Forums
Forum List  »  PHP

Re: The MySQL server is currently offline
Posted by: Peter Brawley
Date: March 03, 2021 09:59PM

What's the socket setting in my.cnf?

Have tou tried something like ...

cd /var/lib
mkdir mysql
touch mysql/mysql.sock
chown -R mysql:mysql mysql

Is the mysql server running?

mysqladmin -u root -p status

Options: ReplyQuote


Subject
Written By
Posted
Re: The MySQL server is currently offline
March 03, 2021 09:59PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.