Greetings
I’m starting with PHP and MySQL, and I need to make a script than create a database, and grant all the permits to a user, so new tables could be created with that user.
I know that you can use the PHP function mysql_create_db () to create a database, just like this;
But my problems comes when I need the users, so I can create tables and work on that, later on. There is SQL command GRANT than could be use to accomplish that I want, but I not get half it (that’s as dumb I am). Could some one send me a example, so I can star from.
Cobalto2060
P.D. Please forgive my poor English.