Location: PHPKode > projects > WorkOrder TS > workorder-ts/include/MySQLErr.php
<?PHP function _ODBDA( $_jJiQt ) { switch ($_jJiQt) { case 0:break;case 1007:die('Database ERROR: Database already exists. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n");break;case 1044:die('Database ERROR: Unable to create database. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n");break;case 1045:die('Database ERROR: Incorrect Username or Password. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n");break;case 1046:die('Database ERROR: No Database specified. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n");break;case 1049:die('Database ERROR: Database does not exist. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n");break;case 1050:die('Database ERROR: Table already exists. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n");break;case 1102:die('Database ERROR: Invalid Database Name, please correct and try again. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n");break;case 1142:die('Database ERROR: Specified user does not have sufficient rights. <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n");break;case 1064:die('Database ERROR: Syntax Error. '.mysql_error().' <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n");break;default:die('Database ERROR: Unknown Error '.$_jJiQt.' <img src="'.ERROR_IMG.'" width="22" height="11" />'."\n");} } ?>
Return current item: WorkOrder TS