add record and mysql_connect