Finalise mySQL implementation pre-pull request

 * Set a numerical primary key in tblUser
 * Correct the name of the used constant in system.xml conf file
 * Remove a stray error_log()