Warning: mysqli::__construct(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/baohotoa/public_html/system/library/db/mysqli.php on line 7
Fatal error: Uncaught Error: Call to undefined function DB\mysql_error() in /home/baohotoa/public_html/system/library/db/mysqli.php:10
Stack trace:
#0 /home/baohotoa/public_html/system/library/db.php(9): DB\MySQLi->__construct('localhost', 'baohotoa_user', 'hangchamps', 'baohotoa_bhtd', '3306')
#1 /home/baohotoa/public_html/system/framework.php(25): DB->__construct('mysqli', 'localhost', 'baohotoa_user', 'hangchamps', 'baohotoa_bhtd', '3306')
#2 /home/baohotoa/public_html/index.php(25): require_once('/home/baohotoa/...')
#3 {main}
thrown in /home/baohotoa/public_html/system/library/db/mysqli.php on line 10