[Pkg-nagios-devel] Bug#921723: Bug#921723: icingaweb2: upgrading package break the database connection
Sebastiaan Couwenberg
sebastic at xs4all.nl
Fri Feb 8 15:09:20 GMT 2019
Control: tags -1 moreinfo
On 2/8/19 1:25 PM, Max wrote:
> after upgrade the login page show this error:
>
> Fatal error: Uncaught error: Undefined class constant
> 'MYSQL_ATTR_INIT_COMMAND' in /usr/share/php/Icinga/Data/Db/DbConnection.php:196
> stack trace: bla bla bla ...
>
> the package php7.2-mysql is marked as unused and removed automatically from the system.
> I suppose is needed
No, php7.3 is now the default, make sure that you're using that instead
instead of 7.2.
If the issue persist, it may be that mariadb-10.3 doesn't provide
MYSQL_ATTR_INIT_COMMAND any more.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the Pkg-nagios-devel
mailing list