Cannot connect to MySQL server

Notice: Undefined variable: dieError in /inc/class.DB.php on line 97