• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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