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 - 2024-10-31 11:05:53
2 - mysqli_error() expects parameter 1 to be mysqli, boolean given - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 26 - 2024-10-31 11:05:53
2 - mysqli_errno() expects parameter 1 to be mysqli, boolean given - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 26 - 2024-10-31 11:05:53
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(122): 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 - 2024-10-31 11:05:53
2 - mysqli_error() expects parameter 1 to be mysqli, boolean given - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 26 - 2024-10-31 11:05:53
2 - mysqli_errno() expects parameter 1 to be mysqli, boolean given - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 26 - 2024-10-31 11:05:53
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:
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 - 2024-10-31 11:05:53
2 - mysqli_error() expects parameter 1 to be mysqli, boolean given - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 26 - 2024-10-31 11:05:53
2 - mysqli_errno() expects parameter 1 to be mysqli, boolean given - /home/luiz/www/html/genesis/1.0/inc/database.class.php - 26 - 2024-10-31 11:05:53
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 /var/www/html/curso/lista.php(9): GDbMysql->__construct()
#2 /var/www/html/curso/redirect.php(24): include('/var/www/html/c...')
#3 {main}
thrown in /home/luiz/www/html/genesis/1.0/inc/database.class.php on line 26