2 - mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 24 - 2019-04-25 03:43:29
2 - mysqli_error() expects parameter 1 to be mysqli, boolean given - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 26 - 2019-04-25 03:43:29
2 - mysqli_errno() expects parameter 1 to be mysqli, boolean given - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 26 - 2019-04-25 03:43:29
Tipo: DbException
Arquivo: /home/luiz/www/html/genesis/1.0/inc/database.class.php
Linha: 26
Código: 0
Mensagem:
Erro: Ops! Ocorreu um erro inesperado, desculpe o transtorno.
Caminho: #0 /home/luiz/www/html/genesis/1.0/inc/database.class.php(15): GDbMysql->connect() #1 /home/luiz/www/html/class/cursoDao.php(110): GDbMysql->__construct() #2 /var/www/html/curso/redirect.php(16): CursoDao->selectByIdentificador(Object(Curso)) #3 {main}
Query:
2 - mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 24 - 2019-04-25 03:43:29
2 - mysqli_error() expects parameter 1 to be mysqli, boolean given - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 26 - 2019-04-25 03:43:29
2 - mysqli_errno() expects parameter 1 to be mysqli, boolean given - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 26 - 2019-04-25 03:43:29
Tipo: DbException
Arquivo: /home/luiz/www/html/genesis/1.0/inc/database.class.php
Linha: 26
Código: 0
Mensagem:
Erro: Ops! Ocorreu um erro inesperado, desculpe o transtorno.
Caminho: #0 /home/luiz/www/html/genesis/1.0/inc/database.class.php(15): GDbMysql->connect() #1 /home/luiz/www/html/class/categoriaDao.php(53): GDbMysql->__construct() #2 /var/www/html/curso/redirect.php(23): CategoriaDao->selectByPermalink(Object(Categoria)) #3 {main}
Query:
Instituto Educar | Cursos2 - mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 24 - 2019-04-25 03:43:29
2 - mysqli_error() expects parameter 1 to be mysqli, boolean given - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 26 - 2019-04-25 03:43:29
2 - mysqli_errno() expects parameter 1 to be mysqli, boolean given - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 26 - 2019-04-25 03:43:29

Fatal error: Uncaught exception 'GDbException' in /home/luiz/www/html/genesis/1.0/inc/database.class.php:26 Stack trace: #0 /home/luiz/www/html/genesis/1.0/inc/database.class.php(15): GDbMysql->connect() #1 /home/luiz/www/html/inc/functions.php(985): GDbMysql->__construct() #2 /home/luiz/www/html/inc/class/header.class.php(51): carregarMenu() #3 /var/www/html/curso/lista.php(4): GHeader->show() #4 /var/www/html/curso/redirect.php(24): include('/var/www/html/c...') #5 {main} thrown in /home/luiz/www/html/genesis/1.0/inc/database.class.php on line 26