An uncaught Exception was encountered

Type: Error

Message: Call to undefined function mysql_connect()

Filename: /home/heyexams/public_html/system/database/drivers/mysql/mysql_driver.php

Line Number: 136

Backtrace:

File: /home/heyexams/public_html/application/controllers/Admin.php
Line: 6
Function: __construct

File: /home/heyexams/public_html/index.php
Line: 315
Function: require_once