Create a mysql database and User
mysql> CREATE DATABASE database1;
For creating a new user with all privileges (use only for troubleshooting), at mysql prompt type:
mysql> GRANT ALL PRIVILEGES ON *.* TO ‘yourusername’@'localhost’ IDENTIFIED BY ‘yourpassword’ WITH GRANT OPTION;
For creating a new user with fewer privileges (should work for most web applications) which can only use the [...]
-
Blog Home
Blogroll
Quick Links
Navigation
Archives
-
Recent Posts
Calendar
March 2010 M T W T F S S « Feb 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Cloud
alert apache backup centos chrome configuration database deviccs DMA DNS example filesystem fsck google harddisk IDE java kernel LAMP linux mail Mode MTU mysql nagios network old OpenDNS openvz password PECL performace permission php repository root Rsync SATA server setup timezone tshark ubuntu user virtualization