# mysql

mysql>SET PASSWORD FOR root@localhost=PASSWORD(‘password’);

mysql>create database abcd;

mysql>grant ALL on abcd.* to abcd@localhost identified by ‘abcdpass’;

mysql>grant ALL on abcd.* to abcduser identified by ‘abcdpass’;

mysql>exit

password bisa di tukar

abcd adalah nama database yang akan di buat