ABHIONLINUX
Site useful for linux administration and web hosting

2011/09/19

create db and user in mysql

mysql -u root -p
mysql> create database db;
Query OK, 1 row affected (0.00 sec)


mysql> grant all privileges on amarokdb.* to amarokuser@localhost  identified by 'passwd';
Query OK, 0 rows affected (0.00 sec)

No comments:

Post a Comment