#contents
*
(mysql - root¤Ë¤Æ)
mysql> GRANT ALL PRIVILEGES ON *.* TO nacinfo@localhost IDENTIFIED BY 'nacdb';
(@localhost¤òÀßÄꤷ¤Ê¤¤¤È¤É¤¦¤â¤¦¤Þ¤¯¤¤¤«¤Ê¤«¤Ã¤¿¡£¶õ¤Ç¤Ï¤À¤á¡©¤é¤·¤¤)
*¥æ¡¼¥¶¤ÎÀ¸À® [#e5a60dd6]
$ 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)
RIGHT:2005-06-05 03:43:49 (Æü)
----
[[HotchPotch]]