1. »ç¿ëÀÚ¸¦ µî·ÏÇÕ´Ï´Ù.
mysql> insert into user values 'localhost','»ç¿ëÀÚ¸í',password('ÆÐ½º¿öµå'),'N','N','N','N','N','N','N','N','N','N','N','N','N','N');
Query OK, 1 row affected (0.01 sec)
2. µ¥ÀÌÅÍ º£À̽º À̸§Çϰí, »ç¿ëÀÚ¸íÀ» ÀÔ·Â
mysql> insert into db values('localhost','DB¸í','»ç¿ëÀÚ¸í','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y');
Query OK, 1 row affected (0.01 sec)
mysql> create database µ¥ÀÌÅͺ£À̽º¸í;
Query OK, 1 row affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.02 sec)
mysql>bye
3. [root@ns /root]# mysql -u UserName -p DBName
Enter password:
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 15273 to server version: 3.23.39-log
Type 'help;' or 'h' for help. Type 'c' to clear the buffer.
mysql>
Á¤»óÀûÀ¸·Î Á¢¼ÓÀÌ Àß µÇ´Â±º¿ä.
|