锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
]]>
渚嬪瓙錛?br>
id int not null primary key auto_increment,
name varchar(20) default 'chenlb',
my_time timestamp default current_timestamp
);
娉ㄦ剰錛氫竴涓〃鍙兘鏈変竴涓猼imestamp鍒楃殑榛樿鍊間負(fù)褰撳墠鏃ユ湡鏃墮棿銆?
]]>
http://doc.mysql.cn/mysql5/refman-5.1-zh.html-chapter/
瀹樻柟
http://dev.mysql.com/doc/refman/5.1/zh/index.html
]]>
榛樿UTF8 mysql 鏁版嵁搴撳浠芥暟鎹負(fù)榛樿GBK 鐨刴ysql鏁版嵁搴撳鍏?br>
澶囦喚鍑烘潵鐨勬暟鎹彧鏄枃浠剁紪鐮佷負(fù)GBK, 寰堜釜琛ㄨ繕鏄師鏉ョ殑瀛楃闆?榪欓噷鏄疷TF8)
榪炴帴浠g爜璇風(fēng)湅
http://bbs.mysql.cn/thread-98-1-2.html
mysql鐨凧DBC椹卞姩涓嬭澆
http://bbs.mysql.cn/thread-317-1-1.html
mysql澶囦喚涓庢仮澶?br>http://bbs.mysql.cn/thread-974-1-3.html
http://bbs.mysql.cn/thread-768-1-10.html
鍏充簬MYSQL鏁版嵁鐨勫鍑哄鍏ヤ笌鐗堟湰鐨勮漿鎹?br>http://bbs.mysql.cn/viewthread.php?tid=72&extra=page%3D1%26filter%3Ddigest
濡備綍澧炲姞鐢ㄦ埛
http://bbs.mysql.cn/thread-535-1-12.html
鏀瑰瘑鐮?br>http://bbs.mysql.cn/thread-280-1-8.html
涔辯爜
http://bbs.mysql.cn/thread-1352-1-5.html
http://bbs.mysql.cn/thread-922-1-1.html
http://bbs.mysql.cn/viewthread.php?tid=1320&highlight=mysqld
榪滅▼榪炴帴MYSQL鐨勯棶棰?br>http://bbs.mysql.cn/viewthread.php?tid=1892&page=1&extra=#pid9349
PHP5錛屾庝箞榪炴帴MYSQL鏁版嵁搴?涓嶈兘鍔犺澆
http://bbs.mysql.cn/thread-342-1-12.html
http://bbs.mysql.cn/thread-181-1-1.html
#1251
http://bbs.mysql.cn/viewthread.php?tid=1591&highlight=%231251
http://bbs.mysql.cn/viewthread.php?tid=319&highlight=%231251
http://bbs.mysql.cn/viewthread.php?tid=3597
緙栫爜
http://bbs.mysql.cn/viewthread.php?tid=1320&extra=page%3D1%26amp%3Bfilter%3Ddigest
http://bbs.mysql.cn/thread-33-1-15.html
http://bbs.mysql.cn/thread-72-1-1.html
WIN鏈嶅姟
http://bbs.mysql.cn/thread-3207-1-1.html
tool
http://bbs.mysql.cn/thread-3526-1-1.html
sql-front
http://bbs.mysql.cn/thread-3193-1-1.html
#1045
http://bbs.mysql.cn/viewthread.php?tid=4430&highlight=1045
timeout
http://bbs.mysql.cn/thread-5215-1-5.html
limit
http://bbs.mysql.cn/thread-4949-1-5.html
mysql refence(PDF)
http://bbs.mysql.cn/thread-5775-1-1.html
濡備綍鐢⊿QL璇彞鍦∕YSQL涓緩绔嬩富澶栭敭鍏崇郴
http://bbs.mysql.cn/viewthread.php?tid=7057&page=1&extra=page%3D2#pid27486
mysql-front3.2鏁欑▼
http://bbs.mysql.cn/viewthread.php?tid=7129&page=1&extra=page%3D1#pid27500
mysql5.0蹇樿root瀵嗙爜
http://bbs.mysql.cn/thread-7765-1-1.html
緇撴灉:
*************************** 1. row ***************************
聽聽聽聽聽聽聽聽聽聽聽聽 Slave_IO_State: Waiting for master to send event
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 Master_Host: 192.168.0.38
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 Master_User: backup
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 Master_Port: 3306
聽聽聽聽聽聽聽聽聽聽聽聽聽 Connect_Retry: 60
聽聽聽聽聽聽聽聽聽聽聽 Master_Log_File: mysql-bin.000003
聽聽聽聽聽聽聽 Read_Master_Log_Pos: 533
聽聽聽聽聽聽聽聽聽聽聽聽 Relay_Log_File: CLB_0-relay-bin.000006
聽聽聽聽聽聽聽聽聽聽聽聽聽 Relay_Log_Pos: 243
聽聽聽聽聽 Relay_Master_Log_File: mysql-bin.000003
聽聽聽聽聽聽聽聽聽聽 Slave_IO_Running: Yes
聽聽聽聽聽聽聽聽聽 Slave_SQL_Running: Yes
聽聽聽聽聽聽聽聽聽聽聽 Replicate_Do_DB: test
聽聽聽聽聽聽聽 Replicate_Ignore_DB:
聽聽聽聽聽聽聽聽 Replicate_Do_Table:
聽聽聽聽 Replicate_Ignore_Table:
聽聽聽 Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 Last_Errno: 0
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 Last_Error:
聽聽聽聽聽聽聽聽聽聽聽聽聽聽 Skip_Counter: 0
聽聽聽聽聽聽聽 Exec_Master_Log_Pos: 533
聽聽聽聽聽聽聽聽聽聽聽 Relay_Log_Space: 1087
聽聽聽聽聽聽聽聽聽聽聽 Until_Condition: None
聽聽聽聽聽聽聽聽聽聽聽聽 Until_Log_File:
聽聽聽聽聽聽聽聽聽聽聽聽聽 Until_Log_Pos: 0
聽聽聽聽聽聽聽聽 Master_SSL_Allowed: No
聽聽聽聽聽聽聽聽 Master_SSL_CA_File:
聽聽聽聽聽聽聽聽 Master_SSL_CA_Path:
聽聽聽聽聽聽聽聽聽聽聽 Master_SSL_Cert:
聽聽聽聽聽聽聽聽聽 Master_SSL_Cipher:
聽聽聽聽聽聽聽聽聽聽聽聽 Master_SSL_Key:
聽聽聽聽聽 Seconds_Behind_Master: 0
1 row in set (0.00 sec)
ERROR:
No query specified
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
璇存槑鎴愬姛:
鍐嶇湅鏄惁宸茬粡澶嶅埗test.repliction琛?br />mysql> use test
Database changed
mysql> show tables;
+----------------+
| Tables_in_test |
+----------------+
| t_repliction聽聽 |
+----------------+
1 row in set (0.00 sec)
鍐嶇湅鏄惁鏈夋暟鎹?br />mysql> select * from t_repliction;
+----+--------+
| id | name聽聽 |
+----+--------+
|聽 1 | chenlb |
|聽 2 | Tenny聽 |
+----+--------+
2 rows in set (0.01 sec)
:) 鏈夊枖
鐜板湪鍦ㄤ富鏈嶅姟鍣ㄩ噷鍔犱簡涓鏉¤褰曠湅鐪嬫湁浠涔堢粨鏋?