replace last mysql_db_connect with at_db_connect