{"id":75,"date":"2008-05-16T23:40:00","date_gmt":"2008-05-16T14:40:00","guid":{"rendered":"http:\/\/yokensaka.com\/fedora\/?p=75"},"modified":"2008-05-16T23:40:00","modified_gmt":"2008-05-16T14:40:00","slug":"%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%82%b5%e3%83%bc%e3%83%90mysql","status":"publish","type":"post","link":"http:\/\/yokensaka.com\/fedora\/?p=75","title":{"rendered":"\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0(MySQL)"},"content":{"rendered":"<p><b>\u25a0\u3000FC2\uff5eFC6 \/ Fedora7 \/ Fedora8 \/ Fedora9<\/b><br \/>\nMySQL \u306f\u9ad8\u901f\u6027\u3068\u5805\u7262\u6027\u3092\u8ffd\u53ca\u3057\u305f\u30de\u30eb\u30c1\u30e6\u30fc\u30b6\u30fb\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u306e\uff33\uff31\uff2c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3001 \u4e16\u754c\u3067\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u30d5\u30ea\u30fc\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002 Movable Type\u3068\u304bNucleus\u7b49\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u306f\u5404\u7a2e\u30c7\u30fc\u30bf\u3092MySQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u3053\u3053\u3067\u306fMySQL\u3092\u4f7f\u3063\u305f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<br \/>\n<b>\u25a0MySQL\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/b><\/p>\n<pre>mysql-server\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\n[root@linux ~]# yum -y install mysql-server<\/pre>\n<p><b>\u25a0MySQL\u8d77\u52d5<\/b><\/p>\n<pre>MySQL\u306e\u8d77\u52d5\n[root@linux ~]# \/etc\/init.d\/mysqld start\nMySQL \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u521d\u671f\u5316\u4e2d:  Installing all prepared tables\nFill help tables\nTo start mysqld at boot time you have to copy support-files\/mysql.server\nto the right place for your system\nPLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !\nTo do so, start the server, then issue the following commands:\n\/usr\/bin\/mysqladmin -u root password 'new-password'\n\/usr\/bin\/mysqladmin -u root -h linux.yokensaka.com password 'new-password'\nSee the manual for more instructions.\nYou can start the MySQL daemon with:\ncd \/usr ; \/usr\/bin\/mysqld_safe &\nYou can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:\ncd sql-bench ; perl run-all-tests\nPlease report any problems with the \/usr\/bin\/mysqlbug script!\nThe latest information about MySQL is available on the web at\nhttp:\/\/www.mysql.com\nSupport MySQL by buying support\/licenses at http:\/\/shop.mysql.com\n[  OK  ]\nMySQL \u3092\u8d77\u52d5\u4e2d:                                            [  OK  ]<\/pre>\n<p><b>\u25a0MySQL\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a<\/b><\/p>\n<pre>MySQL\u306e\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a\n[root@linux ~]# chkconfig mysqld on\nMySQL\u306e\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a\u78ba\u8a8d\n[root@linux ~]# chkconfig --list mysqld\nmysqld          0:off   1:off   2:on    3:on    4:on    5:on    6:off\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u30e9\u30f3\u30ec\u30d9\u30eb2\uff5e5\u304c\u30aa\u30f3\u306e\u72b6\u614b\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d<\/pre>\n<p><b>\u25a0root\u30e6\u30fc\u30b6\u3078\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a<\/b><br \/>\nMySQL\u306eroot\u30e6\u30fc\u30b6\u306b\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u5b89\u5168\u306e\u305f\u3081\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre>MySQL\u30b5\u30fc\u30d0\u30fc\u3078root\u30e6\u30fc\u30b6\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\n[root@linux ~]# mysql -u root\nWelcome to the MySQL monitor.  Commands end with ; or \\g.\nYour MySQL connection id is 2 to server version: 5.0.22\nType 'help;' or '\\h' for help. Type '\\c' to clear the buffer.\n\u767b\u9332\u6e08\u30e6\u30fc\u30b6\u53ca\u3073\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u78ba\u8a8d\u3092\u3057\u307e\u3059\nmysql> select user,host,password from mysql.user;\n+------+---------------------+----------+\n| user | host                | password |\n+------+---------------------+----------+\n| root | localhost           |          |\u3000\u2190\u3000\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\n| root | linux.yokensaka.com |          |\u3000\u2190\u3000\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\n|      | linux.yokensaka.com |          |\n|      | localhost           |          |\n+------+---------------------+----------+\n4 rows in set (0.00 sec)\nlocalhost\u306eroot\u30e6\u30fc\u30b6\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\nmysql> set password for root@localhost=password('\u30d1\u30b9\u30ef\u30fc\u30c9');\nQuery OK, 0 rows affected (0.00 sec)\nlinux.yokensaka.com\u306eroot\u30e6\u30fc\u30b6\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\nmysql> set password for root@linux.yokensaka.com=password('\u30d1\u30b9\u30ef\u30fc\u30c9');\nQuery OK, 0 rows affected (0.00 sec)\nmysql> exit\u3000\u2190\u3000\u3044\u3063\u305f\u3093\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u307e\u3059\nBye\nroot\u30e6\u30fc\u30b6\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u3042\u308a\u3067MySQL\u30b5\u30fc\u30d0\u30fc\u3078\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\n[root@linux ~]# mysql -u root -p\u30d1\u30b9\u30ef\u30fc\u30c9\nWelcome to the MySQL monitor.  Commands end with ; or \\g.\nYour MySQL connection id is 3 to server version: 5.0.22\nType 'help;' or '\\h' for help. Type '\\c' to clear the buffer.\n\u767b\u9332\u6e08\u30e6\u30fc\u30b6\u53ca\u3073\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u78ba\u8a8d\u3092\u3057\u307e\u3059\nmysql> select user,host,password from mysql.user;\n+------+---------------------+------------------+\n| user | host                | password         |\n+------+---------------------+------------------+\n| root | localhost           | 1fd201a955bab306 |\u3000\u2190\u3000\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u8a2d\u5b9a\u3055\u308c\u305f\n| root | linux.yokensaka.com | 1e6055bd75163e03 |\u3000\u2190\u3000\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u8a2d\u5b9a\u3055\u308c\u305f\n|      | linux.yokensaka.com |                  |\n|      | localhost           |                  |\n+------+---------------------+------------------+\n4 rows in set (0.00 sec)\nmysql> exit\u3000\u2190\u3000\u3044\u3063\u305f\u3093\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u307e\u3059\nBye<\/pre>\n<p><b>\u25a0\u533f\u540d\u30e6\u30fc\u30b6\u306e\u524a\u9664<\/b><br \/>\nMySQL\u306b\u306f\u533f\u540d\u30e6\u30fc\u30b6\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u767b\u9332\u3055\u308c\u3066\u304a\u308a\u3001\u30e6\u30fc\u30b6\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057\u3067MySQL\u30b5\u30fc\u30d0\u30fc\u3078\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u5b89\u5168\u306e\u305f\u3081\u306b\u3053\u306e\u30e6\u30fc\u30b6\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<pre>root\u30e6\u30fc\u30b6\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u3042\u308a\u3067MySQL\u30b5\u30fc\u30d0\u30fc\u3078\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\n[root@linux ~]# mysql -u root -p\u30d1\u30b9\u30ef\u30fc\u30c9\nWelcome to the MySQL monitor.  Commands end with ; or \\g.\nYour MySQL connection id is 7 to server version: 5.0.22\nType 'help;' or '\\h' for help. Type '\\c' to clear the buffer.\n\u767b\u9332\u30e6\u30fc\u30b6\u306e\u78ba\u8a8d\u3092\u3057\u307e\u3059\nmysql> select user,host from mysql.user;\n+------+---------------------+\n| user | host                |\n+------+---------------------+\n|      | linux.yokensaka.com |\n| root | linux.yokensaka.com |\n|      | localhost           |\n| root | localhost           |\n+------+---------------------+\n4 rows in set (0.00 sec)\n\u533f\u540d\u30e6\u30fc\u30b6\u3092\u524a\u9664\u3057\u307e\u3059\nmysql> delete from mysql.user where user='';\nQuery OK, 2 rows affected (0.00 sec)\n\u533f\u540d\u30e6\u30fc\u30b6\u304c\u524a\u9664\u3055\u308c\u3066\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\nmysql> select user,host from mysql.user;\n+------+---------------------+\n| user | host                |\n+------+---------------------+\n| root | linux.yokensaka.com |\n| root | localhost           |\n+------+---------------------+\n2 rows in set (0.00 sec)\nmysql> exit\u3000\u2190\u3000\u3044\u3063\u305f\u3093\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u307e\u3059\nBye\n\u533f\u540d\u30e6\u30fc\u30b6\u3067MySQL\u30b5\u30fc\u30d0\u30fc\u3078\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\n[root@linux ~]# mysql\nERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)<\/pre>\n<p><b>\u25a0test\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u524a\u9664<\/b><br \/>\nMySQL\u306b\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067test\u3068\u3044\u3046\u7a7a\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u4e0d\u8981\u306e\u305f\u3081\u3001\u3053\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<pre>root\u30e6\u30fc\u30b6\u3067MySQL\u30b5\u30fc\u30d0\u30fc\u3078\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\n[root@linux ~]# mysql -u root -p\u30d1\u30b9\u30ef\u30fc\u30c9\nWelcome to the MySQL monitor.  Commands end with ; or \\g.\nYour MySQL connection id is 9 to server version: 5.0.22\nType 'help;' or '\\h' for help. Type '\\c' to clear the buffer.\n\u767b\u9332\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u78ba\u8a8d\u3057\u307e\u3059\nmysql> show databases;\n+--------------------+\n| Database           |\n+--------------------+\n| information_schema |\n| mysql              |\n| test               |\n+--------------------+\n3 rows in set (0.00 sec)\ntest\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u524a\u9664\u3057\u307e\u3059\nmysql> drop database test;\nQuery OK, 0 rows affected (0.01 sec)\ntest\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u524a\u9664\u3055\u308c\u3066\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\nmysql> show databases;\n+--------------------+\n| Database           |\n+--------------------+\n| information_schema |\n| mysql              |\n+--------------------+\n2 rows in set (0.00 sec)\nmysql> exit\u3000\u2190\u3000\u30ed\u30b0\u30a2\u30a6\u30c8\nBye<\/pre>\n<p><b>\u25a0MySQL\u78ba\u8a8d<\/b><\/p>\n<pre>root\u3067MySQL\u30b5\u30fc\u30d0\u30fc\u3078\u30ed\u30b0\u30a4\u30f3\n[root@linux ~]# mysql -u root -p\u30d1\u30b9\u30ef\u30fc\u30c9\nWelcome to the MySQL monitor.  Commands end with ; or \\g.\nYour MySQL connection id is 10 to server version: 5.0.22\nType 'help;' or '\\h' for help. Type '\\c' to clear the buffer.\ntaka\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u5168\u3066\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u6301\u3063\u305f\u3001\u65b0\u898f\u30e6\u30fc\u30b6taka\u3092\u767b\u9332\nmysql> grant all privileges on taka.* to taka@localhost identified by '\u30d1\u30b9\u30ef\u30fc\u30c9';\nQuery OK, 0 rows affected (0.00 sec)\nmysql> select user from mysql.user where user='taka';\u3000\u2190\u3000taka\u30e6\u30fc\u30b6\u767b\u9332\u78ba\u8a8d\n+--------+\n| user   |\n+--------+\n| taka   |\n+--------+\n1 row in set (0.00 sec)\nmysql> exit\u3000\u2190\u3000\u30ed\u30b0\u30a2\u30a6\u30c8\nBye\ntaka\u30e6\u30fc\u30b6\u3067MySQL\u30b5\u30fc\u30d0\u30fc\u3078\u30ed\u30b0\u30a4\u30f3\n[root@linux ~]# mysql -u taka -p\u30d1\u30b9\u30ef\u30fc\u30c9\nWelcome to the MySQL monitor.  Commands end with ; or \\g.\nYour MySQL connection id is 11 to server version: 5.0.22\nType 'help;' or '\\h' for help. Type '\\c' to clear the buffer.\nmysql> create database taka;\u3000\u2190\u3000taka\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u4f5c\u6210\nQuery OK, 1 row affected (0.00 sec)\nmysql> show databases;\u3000\u2190\u3000\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u4f5c\u6210\u78ba\u8a8d\n+--------------------+\n| Database           |\n+--------------------+\n| information_schema |\n| taka               |\n+--------------------+\n2 rows in set (0.00 sec)\nmysql> use taka\u3000\u2190\u3000taka\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u63a5\u7d9a\nDatabase changed\nmysql> create table taka(num int, name varchar(50));\u3000\u2190\u3000taka\u30c6\u30fc\u30d6\u30eb\u4f5c\u6210\nQuery OK, 0 rows affected (0.01 sec)\nmysql> show tables;\u3000\u2190\u3000\u30c6\u30fc\u30d6\u30eb\u4f5c\u6210\u78ba\u8a8d\n+----------------+\n| Tables_in_test |\n+----------------+\n| taka           |\n+----------------+\n1 row in set (0.00 sec)\nmysql> insert into taka values(1,'\u30c7\u30fc\u30bfAB');\u3000\u2190\u3000taka\u30c6\u30fc\u30d6\u30eb\u3078\u30c7\u30fc\u30bf\u767b\u9332\nQuery OK, 1 row affected (0.00 sec)\nmysql> select * from taka;\u3000\u2190\u3000\u30c7\u30fc\u30bf\u767b\u9332\u78ba\u8a8d\n+------+----------+\n| num  | name     |\n+------+----------+\n|    1 | \u30c7\u30fc\u30bfAB |\n+------+----------+\n1 row in set (0.01 sec)\nmysql> update taka set name='\u30c7\u30fc\u30bfAB';\u3000\u2190\u3000taka\u30c6\u30fc\u30d6\u30eb\u5185\u30c7\u30fc\u30bf\u66f4\u65b0\nQuery OK, 1 row affected (0.00 sec)\nRows matched: 1  Changed: 0  Warnings: 0\nmysql> select * from taka;\u3000\u2190\u3000\u30c7\u30fc\u30bf\u66f4\u65b0\u78ba\u8a8d\n+------+----------+\n| num  | name     |\n+------+----------+\n|    1 | \u30c7\u30fc\u30bfAB |\n+------+----------+\n1 row in set (0.00 sec)\nmysql> delete from taka where num=1;\u3000\u2190\u3000taka\u30c6\u30fc\u30d6\u30eb\u5185\u30c7\u30fc\u30bf\u524a\u9664\nQuery OK, 1 row affected (0.02 sec)\nmysql> select * from taka;\u3000\u2190\u3000\u30c7\u30fc\u30bf\u524a\u9664\u78ba\u8a8d\nEmpty set (0.00 sec)\nmysql> drop table taka;\u3000\u2190\u3000test\u30c6\u30fc\u30d6\u30eb\u524a\u9664\nQuery OK, 0 rows affected (0.00 sec)\nmysql> show tables;\u3000\u2190\u3000\u30c6\u30fc\u30d6\u30eb\u524a\u9664\u78ba\u8a8d\nEmpty set (0.00 sec)\nmysql> drop database taka;\u3000\u2190\u3000\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9taka\u524a\u9664\nQuery OK, 0 rows affected (0.00 sec)\nmysql> show databases;\u3000\u2190\u3000\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u524a\u9664\u78ba\u8a8d\n+--------------------+\n| Database           |\n+--------------------+\n| information_schema |\n+--------------------+\n1 row in set (0.00 sec)\nmysql> exit\u3000\u2190\u3000\u30ed\u30b0\u30a2\u30a6\u30c8\nBye\nroot\u3067MySQL\u30b5\u30fc\u30d0\u30fc\u3078\u30ed\u30b0\u30a4\u30f3\n[root@linux ~]# mysql -u root -p\u30d1\u30b9\u30ef\u30fc\u30c9\nWelcome to the MySQL monitor.  Commands end with ; or \\g.\nYour MySQL connection id is 41 to server version: 5.0.22\nType 'help;' or '\\h' for help. Type '\\c' to clear the buffer.\ntaka\u30e6\u30fc\u30b6\u304b\u3089\u5168\u3066\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u5265\u596a\nmysql> revoke all privileges on *.* from taka@localhost;\nQuery OK, 0 rows affected (0.00 sec)\ntaka\u30e6\u30fc\u30b6\u524a\u9664\nmysql> delete from mysql.user where user='taka' and host='localhost';\nQuery OK, 1 row affected (0.03 sec)\ntaka\u30e6\u30fc\u30b6\u524a\u9664\u78ba\u8a8d\nmysql> select user from mysql.user where user='taka';\nEmpty set (0.00 sec)\nmysql> flush privileges;\u3000\u2190\u3000taka\u30e6\u30fc\u30b6\u306e\u524a\u9664\u3092MySQL\u30b5\u30fc\u30d0\u30fc\u3078\u53cd\u6620\nQuery OK, 0 rows affected (0.02 sec)\nmysql> exit\u3000\u2190\u3000\u30ed\u30b0\u30a2\u30a6\u30c8\nBye<\/pre>\n<p><b>\u25a0Movable Type\u306e\u521d\u671f\u8a2d\u5b9a<\/b><br \/>\nMovable Type\u306e\u30d6\u30ed\u30b0\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3059\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u521d\u671f\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre>root\u3067MySQL\u30b5\u30fc\u30d0\u30fc\u3078\u30ed\u30b0\u30a4\u30f3\n[root@linux ~]# mysql -u root -p\u30d1\u30b9\u30ef\u30fc\u30c9\nWelcome to the MySQL monitor.  Commands end with ; or \\g.\nYour MySQL connection id is 41 to server version: 5.0.22\nType 'help;' or '\\h' for help. Type '\\c' to clear the buffer.\n\u300cmt\u300d\u3068\u3044\u3046\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\nmysql> create database mt;\nQuery OK, 1 row affected (0.01 sec)\n\u7ba1\u7406DB\u3092\u30c7\u30d5\u30a9\u30eb\u30c8(\u7ba1\u7406\u3092\u30ab\u30ec\u30f3\u30c8)\nmysql> use mysql;\nReading table information for completion of table and column names\nYou can turn off this feature to get a quicker startup with -A\nDatabase changed\n\u300cmt\u300d\u3068\u3044\u3046\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\nmysql> grant usage on mt.* to admin@localhost identified by '\u30d1\u30b9\u30ef\u30fc\u30c9';\nQuery OK, 0 rows affected (0.00 sec)\n\u300cmt\u300d\u3068\u3044\u3046\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u3059\u3079\u3066\u306e\u6a29\u9650\u3092\u300cadmin\u300d\u306b\u8a31\u3059\nmysql> grant all on mt.* to admin@localhost;\nQuery OK, 0 rows affected (0.00 sec)\nmysql> exit\u3000\u2190\u3000\u30ed\u30b0\u30a2\u30a6\u30c8\nBye<\/pre>\n<div align=right><a href=\"#\">\u25b2 \u30da\u30fc\u30b8\u30c8\u30c3\u30d7\u3078<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0\u3000FC2\uff5eFC6 \/ Fedora7 \/ Fedora8 \/ Fedora9 MySQL \u306f\u9ad8\u901f\u6027\u3068\u5805\u7262\u6027\u3092\u8ffd\u53ca\u3057\u305f\u30de\u30eb\u30c1\u30e6\u30fc\u30b6\u30fb\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u306e\uff33\uff31\uff2c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3001 \u4e16\u754c\u3067\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u30d5\u30ea\u30fc\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30ca\u30eb\u30c7\u30fc\u30bf [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-75","post","type-post","status-publish","format-standard","hentry","category-19-mysql"],"_links":{"self":[{"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=\/wp\/v2\/posts\/75","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=75"}],"version-history":[{"count":0,"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=\/wp\/v2\/posts\/75\/revisions"}],"wp:attachment":[{"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/yokensaka.com\/fedora\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}