Server/MySQL/¥æ¡¼¥¶ºîÀ®
¤ò¥Æ¥ó¥×¥ì¡¼¥È¤Ë¤·¤ÆºîÀ®
¥È¥Ã¥×
¿·µ¬
°ìÍ÷
¸¡º÷
¥Ø¥ë¥×
³«»Ï¹Ô:
#contents
*
(mysql - root¤Ë¤Æ)
mysql> GRANT ALL PRIVILEGES ON *.* TO nacinfo@localhost ...
(@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 bu...
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]]
½ªÎ»¹Ô:
#contents
*
(mysql - root¤Ë¤Æ)
mysql> GRANT ALL PRIVILEGES ON *.* TO nacinfo@localhost ...
(@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 bu...
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]]
¥Ú¡¼¥¸Ì¾: