G了一下發現有人 blog 有!轉載過來做個紀錄
以下資料由 http://peterlai0223.blogspot.com/2009/07/24.html 轉載
各種氣象要素之過去24小時變化圖
cpubench.c:93: error: 『CLK_TCK』 undeclared (first use in this function) cpubench.c:93: error: (Each undeclared identifier is reported only once cpubench.c:93: error: for each function it appears in.)
max_connect_errors = 1844674407370954751
connect_timeout = 20
skip-name-resolve
slave_net_timeout = 30
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\lnkfile] "IsShortcut"=""
[root@localhost]# perl -MCPAN -e shell
/usr/lib/perl5/5.8.5/CPAN/Config.pm initialized.
...略...
Are you ready for manual configuration? [yes] no (直接採用預設值自動設定即可, 輸入 no)
...略...
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')
cpan> install Term::ReadKey
CPAN: Storable loaded ok
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
...略...
/usr/bin/make install -- OK
cpan> install Term::ANSIColor
Running install for module Term::ANSIColor
Running make for R/RR/RRA/ANSIColor-2.02.tar.gz
...略...
/usr/bin/make install -- OK
cpan> install Time::HiRes
Running install for module Time::HiRes
Running make for J/JH/JHI/Time-HiRes-1.9719.tar.gz
Fetching with LWP:
...略...
/usr/bin/make install -- OK
cpan> quit
Terminal does not support GetHistory.
Lockfile removed.
wget http://jeremy.zawodny.com/mysql/mytop/mytop-1.6.tar.gz
tar -zxvf mytop-1.6.tar.gz
cd mytop-1.6
perl Makefile.PL
make
make test
make install
user=mytop
pass=
host=127.0.0.1
db=test
delay=1
port=3306
batchmode=0
header=1
color=1
idle=1
perldoc mytop
mysql_init(&mysql);
mysql_options(&mysql, MYSQL_OPT_RECONNECT, "1");
mysql_real_connect("blahblah");