Yeah, you use MySQL for what it was designed to do and make your own database with usernames, passwords, full names and keys. You don't have to expose the core MySQL database to make something like what you want to do.
If you're knowledgeable enough to know how to add/update users using SQL, you should know that you can just create your own table to do the same thing.