• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

mysqld can't start

I

ittec

Guest
Hi all

this is my first post, so hello to all members.

Im admin of a "old" Plesk. I think it 7.5 version, but im not sure. I have access to server by SSH and not by web because MYSQL its off.

When i try to reboot MYSQL in SSH console, the system returns:

Code:
Stopping MySQL:                                    

[COLOR=red][FAILED][/COLOR]

Timeout error occurred trying to start MySQL Daemon.

If a try to enter by web i see this:

Code:
ERROR: Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 0:

/usr/local/psa/admin/auto_prepend/auth.php3:81 psaerror(string "Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")

Perhaps the error is by MYSQL setup, but im not sure. I rembember that i modified my.cnf few days ago

MYSQL setup:
Code:
[mysqld]
safe-show-database
innodb_data_file_path=ibdata1:10M:autoextend
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
max_connections=400
max_connect_errors=999999

[mysql.server]
user=mysql
basedir=/var/lib

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

Can anyone help me? Im looking for mysql error log, but i dont' find it.

Thanks.
 
Well,

finally i found mysql log and saw error. Alls works now.

InnoDb setup in my.cnf was the problem.

Thanks.
 
Back
Top