SELECT * FROM exc INNER JOIN exc_lib USING (id_exc_lib) WHERE exc.code='PHP_ERROR'
1040: Too many connections