Top/Server/MySQL/¥æ¡¼¥¶ºîÀ®

(mysql - root¤Ë¤Æ)

mysql> GRANT ALL PRIVILEGES ON *.* TO nacinfo@localhost IDENTIFIED BY 'nacdb';

(@localhost¤òÀßÄꤷ¤Ê¤¤¤È¤É¤¦¤â¤¦¤Þ¤¯¤¤¤«¤Ê¤«¤Ã¤¿¡£¶õ¤Ç¤Ï¤À¤á¡©¤é¤·¤¤)

¥æ¡¼¥¶¤ÎÀ¸À®

$ mysqladmin -unacinfo -p create nacinfo
Enter password:

$ mysql -unacinfo -p nacinfo
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 356 to server version: 3.23.40

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

mysql> create table printlog (
    -> id int auto_increment,
    -> username char(32),
    -> printcount int,
    -> printdate DATETIME,
    -> primary key (id)
    -> );
Query OK, 0 rows affected (0.03 sec)
2005-06-05 03:43:49 (Æü)

HotchPotch


¥È¥Ã¥×   ÊÔ½¸ Åà·ë º¹Ê¬ ÍúÎò źÉÕ Ê£À½ ̾Á°Êѹ¹ ¥ê¥í¡¼¥É   ¿·µ¬ °ìÍ÷ ¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS
Last-modified: 2005-12-26 (·î) 00:53:33