ATM Posted December 20, 2006 Share Posted December 20, 2006 Hello,I was wondering if it is possible to add new users to mysql using SQL alongside with PHP, I have spent many days looking but the only thing I seem to find is the 'grant' function, which I don't see a point for unless I can create new mysql users.Thanks, Link to comment Share on other sites More sharing options...
justsomeguy Posted December 20, 2006 Share Posted December 20, 2006 You can use GRANT to create users. There is also a CREATE USER statement, which does the same thing.http://dev.mysql.com/doc/refman/5.0/en/adding-users.htmlhttp://dev.mysql.com/doc/refman/5.0/en/create-user.html Link to comment Share on other sites More sharing options...
ATM Posted December 20, 2006 Author Share Posted December 20, 2006 Thanks, Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now