• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

watchdog and mysql

E

Expert

Guest
Hi

Watchdog in my plesk every minute get state of mysql server.
And every minute in log I see: Database server connection has established

it is normally?
 
Check setting for mysql in watchdog configuration file /usr/local/psa/etc/modules/watchdog/monitrc
Also documentation about watchdog can be useful.
 
Check setting for mysql in watchdog configuration file /usr/local/psa/etc/modules/watchdog/monitrc
Also documentation about watchdog can be useful.

I can't find something wrong...

MySql work correctly. Plesk is UP, sites work...
but in log every minute: Database server connection has established

Look at my config files

/usr/local/psa/etc/modules/watchdog/monitrc
# MySQL
check process mysql
with pidfile "/var/run/mysqld/mysqld.pid"
start = "/etc/init.d/mysql start"
stop = "/etc/init.d/mysql stop"
if failed unixsocket /var/run/mysqld/mysqld.sock with timeout 60 seconds then restart
if 1000 restarts within 1000 cycles then timeout
every 1 cycles
mode active

/etc/mysql/my.cnf
[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock

# Here is entries for some specific programs
# The following values assume you have at least 32M ram

# This was formally known as [safe_mysqld]. Both versions are currently parsed.
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0

[mysqld]
set-variable=local-infile=0
#
# * Basic Settings
#

#
# * IMPORTANT
# If you make changes to these settings and your system uses apparmor, you may
# also need to also adjust /etc/apparmor.d/usr.sbin.mysqld.
#

user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp_mysql
language = /usr/share/mysql/english
wait_timeout = 36000
skip-external-locking

#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
# bind-address = 127.0.0.1

[mysqldump]
quick
quote-names
max_allowed_packet = 16M

[mysql]
#no-auto-rehash # faster start of mysql but no tab completition

[isamchk]
key_buffer = 32M
 
Back
Top