Since few days some of my pages reports:
"Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/wraten/sportnews-24.pl/mysql.php on line 31
Fatal error: Uncaught exception 'Exception' with message 'Error while connecting to database;"
When I restart MariaDB it starts to work again properly.
The trouble is I'm able to login to each of this database via phpMyAdmin, but not from the php side. Maybe there is a bug inside php-mysql or php-mysqli 5.4.20 ?