BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡

±Û¾´ÀÌ: dbs mysql user create Á¶È¸¼ö: 6788

stone@backrush.com
http://backrush.com

(34)[stone]/ > mysql -u root -p mysql
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2061 to server version: 3.23.47

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

>>> root ·Î mysql database·Î Á¢±Ù

mysql>
mysql>
mysql> show databases;
+----------+
| Database |
+----------+
| backrush |
| jakim |
| mageoli |
| mysql |
| test |
+----------+
5 rows in set (0.01 sec)

>> Á¸Àç database È®ÀÎ

mysql> create database DBDB;
Query OK, 1 row affected (0.05 sec)

>>»ç¿ëÀÚ database »ý¼º


mysql> insert into user values ('localhost','user',password('user123'),'N','N','N','N','N','N','N','N','N','N','N','N','N','N');
Query OK, 1 row affected (0.03 sec)

>> user Å×ÀÌºí¿¡ »ç¿ëÀÚ »ý¼º

mysql> insert into db values('localhost','DBDB','user','Y','Y','Y','Y','Y','Y
','Y','Y','Y','Y');
Query OK, 1 row affected (0.00 sec)

>> db Å×ÀÌºí¿¡ À¯Á®±ÇÇÑ Àû¿ë

mysql>
mysql> flush privileges;
Query OK, 0 rows affected (0.08 sec)

>> ÇöÀç ÀÛ¾÷ ¸®ÇÁ·¹½¬

mysql>
mysql>

°ü·Ã±Û : ¾øÀ½ ±Û¾´½Ã°£ : 2002/01/14 18:05 from 210.121.188.5

  MYSQL user,db°ü¸®Åø ¸ñ·Ïº¸±â »õ±Û ¾²±â Áö¿ì±â ÀÀ´ä±Û ¾²±â ±Û ¼öÁ¤ [database  ±¸¼ºÆÄÀÏÁ¶È¸]  
BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡