Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'grupomarvi1'@'186.234.80.185' (using password: YES in /var/www/html/grupomarviseg.com.br/web/modelo_banco.php on line 25
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /var/www/html/grupomarviseg.com.br/web/modelo_banco.php on line 37
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory") in /var/www/html/grupomarviseg.com.br/web/modelo_banco.php on line 38
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/html/grupomarviseg.com.br/web/modelo_banco.php on line 38
Fatal error: Uncaught exception 'Exception' with message 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")' in /var/www/html/grupomarviseg.com.br/web/modelo_banco.php:39
Stack trace:
#0 /var/www/html/grupomarviseg.com.br/web/modelo_banco.php(787): BancoDados::query('SELECT `categor...')
#1 /var/www/html/grupomarviseg.com.br/web/produtos.php(13): Categoria::find('', '', '', '', 'order by catego...')
#2 /var/www/html/grupomarviseg.com.br/web/index.php(24): include('/var/www/html/g...')
#3 {main}
thrown in /var/www/html/grupomarviseg.com.br/web/modelo_banco.php on line 39