Step 1 :
mysqladmin -u samiux -p create mydatabase
*where
samiux
is the normal username and mydatabase
is the name of the database of the web applicationsStep 2 :
mysql -u root -p
Step 3 :
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON mydatabase.* TO samiux@localhost IDENTIFIED BY mypassword;
*where
mypassword
is the password of the user samiux
Thats all! See you.
0 komentar:
Posting Komentar