MySql Error

Discussions about the usage and configuration of KeyHelp.
Post Reply
Pedrope
Posts: 7
Joined: Sun 10. Apr 2022, 22:17

MySql Error

Post by Pedrope »

I'm not sure if this post is in the right section

Hi, I try to access my server today, but it was not possible at the first try. After several attempts It worked, and the php-error.log has a lot of this lines
#3 /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php(75): DatabaseConnection->__construct()
#4 {main}
thrown in /home/keyhelp/www/keyhelp/core/Database/DatabaseConnection.php on line 244
[02-Sep-2022 01:53:01 America/New_York] PHP Warning: MySQL - Connection Error: 2002 (Connection refused) in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 286
[02-Sep-2022 01:53:01 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 86
[02-Sep-2022 01:53:01 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 87
[02-Sep-2022 01:53:01 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 88
[02-Sep-2022 01:53:01 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 111
[02-Sep-2022 01:53:01 America/New_York] PHP Warning: DBConnection::query(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 112
[02-Sep-2022 01:53:01 America/New_York] PHP Warning: mysqli::ping(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 122
[02-Sep-2022 01:53:02 America/New_York] PHP Notice: DB-Connection timed out, now reconnecting... in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 131
[02-Sep-2022 01:53:02 America/New_York] PHP Warning: mysqli::close(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 93
[02-Sep-2022 01:53:02 America/New_York] PHP Warning: MySQL - Connection Error: 2002 (Connection refused) in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 286
[02-Sep-2022 01:53:02 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 86
[02-Sep-2022 01:53:02 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 87
[02-Sep-2022 01:53:02 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 88
[02-Sep-2022 01:53:02 America/New_York] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 111

My virtual server

KVM Virtual system (VPS)
KeyHelp 22.2
Debian 11.5 (64-bit)
MariaDB 10.5.15
Apache 2.4.54
PHP 7.4.30

Any help is appreciated

Thanks in advance
Pedrope
User avatar
Florian
Keyweb AG
Posts: 671
Joined: Wed 20. Jan 2016, 02:28

Re: MySql Error

Post by Florian »

Hallo,

it seems that the MySQL Server was not running or at max connection limit.
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Pedrope
Posts: 7
Joined: Sun 10. Apr 2022, 22:17

Re: MySql Error

Post by Pedrope »

Hi, thanks for your answer Florian, but the MySql server is OK.

It doesn't always happen

Thanks

Pedrope
Post Reply