/ Published in: SQL

$ mysql -u ''adminusername'' -p
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
mysql> CREATE DATABASE ''databasename''; mysql> GRANT ALL PRIVILEGES ON ''databasename''.* TO "''username''"@"''hostname''" IDENTIFIED BY "''password''"; mysql> FLUSH PRIVILEGES; mysql> EXIT
Comments
