• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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