|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||||
2006年06月06日(火) 旧暦 [n年日記] [更新:"2006/06/10 11:02:29"]#1 [MySQL][WordPress] (WordPress) blog をそっくり写したい
@ MySQL の管理項目:
MySQL は、自分のデータの管理に、mysql という名前のデータベースを作って、
それで管理している。こうすると、自分自身がこわれてしまった場合にはちょっと不便になって
しまうが、
それさえなければ、SQL 文でも変更出来るので分りやすくていい。
その内容を見るには、次のようにする。
ttyp0:makoto@hostname 8:52:42/060606(~)> 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 3730 to server version: 4.1.11 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> show tables; +---------------------------+ | Tables_in_mysql | +---------------------------+ | columns_priv | | db | | func | | help_category | | help_keyword | | help_relation | | help_topic | | host | | tables_priv | | time_zone | | time_zone_leap_second | | time_zone_name | | time_zone_transition | | time_zone_transition_type | | user | +---------------------------+ 15 rows in set (0.00 sec) mysql> mysql> select * from user;とすると、次のような項目が表示される。機械、利用者名、操作毎に許可 が設定してある Host User Password Select_priv Insert_priv Update_priv Delete_priv Create_priv Drop_priv Reload_priv Shutdown_priv Process_priv File_priv Grant_priv References_priv Index_priv Alter_priv Show_db_priv Super_priv Create_tmp_table_priv Lock_tables_priv Execute_priv Repl_slave_priv Repl_client_priv ssl_type ssl_cipher x509_issuer x509_subject max_questions max_updates max_connectionsあるいは、次のようにすれば確認出来る mysql> select host,user,select_priv,update_priv from user; +----------------------------+--------+-------------+-------------+ | host | user | select_priv | update_priv | +----------------------------+--------+-------------+-------------+ | localhost | root | Y | Y | +----------------------------+--------+-------------+-------------+ ( つっこみ )
#2 [NetBSD][macppc] ./build.sh release for 20060527
(for 3.99.20)
===> Successful make release
===> build.sh started: Tue Jun 6 00:06:19 JST 2006
===> build.sh ended: Tue Jun 6 03:28:56 JST 2006
===> Summary of results:
build.sh command: ./build.sh release
build.sh started: Tue Jun 6 00:06:19 JST 2006
No nonexistent/bin/nbmake, needs building.
Bootstrapping nbmake
MACHINE: macppc
MACHINE_ARCH: powerpc
TOOLDIR path: /export/20060527/checkout/src/tooldir.NetBSD-3.99.11-powerpc
DESTDIR path: /export/20060527/checkout/src/destdir.macppc
RELEASEDIR path: /export/20060527/checkout/src/releasedir
Created /export/20060527/checkout/src/tooldir.NetBSD-3.99.11-powerpc/bin/nbmake
makewrapper: /export/20060527/checkout/src/tooldir.NetBSD-3.99.11-powerpc/bin/nbmake-macppc
Updated /export/20060527/checkout/src/tooldir.NetBSD-3.99.11-powerpc/bin/nbmake-macppc
Successful make release
build.sh started: Tue Jun 6 00:06:19 JST 2006
build.sh ended: Tue Jun 6 03:28:56 JST 2006
===> .
次のところに写しておく。
( つっこみ )
|
最近の日記 2026年02月28日 ・my first script-fu 2026年01月29日 ・Die Fledermaus at New National theatre 2026/01/29 2025年12月25日 ・pbulk 11.99.3 (emacs30) 2025年11月22日 ・crash dump 2025年10月25日 ・recover from disk error | ||