Checking if mysql user exists

Posted by sergiogx on Stack Overflow See other posts from Stack Overflow or by sergiogx
Published on 2010-06-16T00:04:55Z Indexed on 2010/06/16 0:12 UTC
Read the original article Hit count: 137

Filed under:

How can I check if a user exists?

Im doing an installer for a mysql database, and I need to check if a user exits, if not create user, if yes delete user and create it again.

this so i can execute the script without worries.

thanks.

© Stack Overflow or respective owner

Related posts about mysql