SQLSTATE[HY000] [1044] Access denied for user 'smkn6sby'@'localhost' to database 'smkn6sby_sch_id_siakad'
Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/html/smkn6sby.sch.id/siakad/globals/config.php:79
Stack trace:
#0 /var/www/html/smkn6sby.sch.id/siakad/globals/config.php(262): Database->sql()
#1 /var/www/html/smkn6sby.sch.id/siakad/modules/frontend/index.php(12): Database->result_assoc()
#2 /var/www/html/smkn6sby.sch.id/siakad/index.php(2): include('/var/www/html/s...')
#3 {main}
thrown in /var/www/html/smkn6sby.sch.id/siakad/globals/config.php on line 79