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 -pStep 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 samiuxThat's all! See you.
