¹ØÓÚmysqlÖеÄinsert
Õ⼸Ì죬ÏîÄ¿ÖÐÓиöÐèÇ󣬵½Êý¾Ý¿âÕâ²½µÄ½á¹û¾ÍÊÇÐèÒªÅúÁ¿updateµÄÊý¾Ý£¬×ܲ»ÄÜÑ»·Ê¹ÓÃupdate....set...°É£¬ÕâÑùÏÔʾЧÂÊÊǺܵͣ¬ÎªÁ˽â¾öÕâ¸öÎÊÌ⣬´ó¼ÒÒ²ÊÇÏëÁ˺ܶàµÄ°ì·¨¡£
ÏÈ˵Õ⼸¸ö½â¾ö·½°¸£º
1£ºÑ»·update²Ù×÷£ºÊ²Ã´¶¼²»ËµÁË£¬ÏÔÈ»ÌÔÌÁË£»
2£º
Ïà¹ØÎĵµ£º
Ðí¶àÅóÓÑÔÚʹÓÃmysql½øÐÐÖÐÎÄÄ£ºý²éÕÒʱ(Èçselect * from mytable where mysqlname like "%ÖÐÎÄ%"),¾ÍÏóÎÒÏÖÔÚÒ»Ñù£¬ÕÒµ½²»Ó¦ÕÒµ½µÄÐÐ!
ÓÐһЩÅóÓÑÌá³öÁ˽â¾ö°ì·¨£¬´óÖÂÓÐÁ½ÖÖ£º
ÆäÒ»£¬¼Ó×Ö¶ÎÊôÐÔbinary(),
Æä¶þ,¸Ämy.cfgÆô¶¯²ÎÊýΪdefault-character-set =gbk(»ògb2312).
ÎÒ´ÓÎÊÌâµÄ¸ù±¾ÔÒò·ÖÎö£¬
ÆäÒ»£¬×Öĸ ......
˵Ã÷£º
±£ÁôÿÌ챸·ÝµÄÊý¾ÝÊǼþ²»Ì«ÏÖʵµÄÊ£¬×öºÃµÄ×ö·¨ÊDZ£ÁôÇ°ÈýÌìµÄ
±¸·ÝÊý¾Ý¡£°Ñ±¸·ÝµÄÊý¾Ý´ò°ü²¢Ñ¹Ëõ£¬ÎļþÃûÒÔϵͳʱ¼äÃüÃû£¬´ò°üºóµÄ
±¸·ÝÎļþ·ÅÔÚÒ»¸öÌض¨µÄÎļþ¼ÐÏÂÃ棬ʵ¼ÊÉÏ£¬Ö»ÒªÊÇÒÔʱ¼äÃüÃû±¸·ÝÎļþ£¬
ls ÃüÁîºó£¬Îļþ½«×Ô¶¯°´Ê±¼äÅÅÐòµÄ£¬ÕâÑù¾Í¿ÉÒÔ·½±ãµÄɾ³ýÈýÌìÒÔÇ°µÄ±¸·ÝÎļþ£¬ÓÚÊÇ ......
MySQL ±¸·ÝºÍ»Ö¸´
ÖÜÁù, 2006/09/30 - 14:21 — yejr
MySQL ±¸·ÝºÍ»Ö¸´
×÷/ÒëÕߣºÒ¶½ðÈÙ£¨Email:
£©£¬À´Ô´£ºhttp://imysql.cn
£¬×ªÔØÇë×¢Ã÷×÷/ÒëÕߺͳö´¦£¬²¢ÇÒ²»ÄÜÓÃÓÚÉÌÒµÓÃ;£¬Î¥Õ߱ؾ¿¡£
ÈÕÆÚ£º2006/10/01
±¾ÎÄÌÖÂÛ MySQL µÄ±¸·ÝºÍ»Ö¸´»úÖ ......
ת×Ôhttp://amoeba.meidusa.com/wordpress/?p=24£¬Ò»¸öºÜºÃµÄ¹¤¾ß¡£¡£¡£¡£ÆÚ´ýÑо¿
ÐÞ¸´bugÁбí:
1¡¢ÐÞ¸´ÎÞ·¨½âÎöÅ׳öunknown statement£¨1.0.0ÐÂbug£©¡£½«ÎÞ·¨½âÎöµÃsqlĬÈÏÔÚdefaultPoolÖÐÖ´ÐÐ
2¡¢ÐÞ¸´union¹Ø¼ü×ÖÎÞ·¨½âÎöÎÊÌâ
3¡¢ÐÞ¸´º¯ÊýÇ°Ãæ! ÎÞ·¨½âÎöÎÊÌâ
4¡¢ÐÞ¸´order by ¡¢group by ºóÃæ´ø±í´ïʽµÃsql
ÏÂÔØµØ ......
grant replication slave on *.* to 'guest'@'192.168.1.%' identified by '123456'
change master to master_host='192.168.1.190',master_user='guest',master_password='123456',master_port=3306
mysql> change master to master_host='192.168.1.190',master_user='guest',master_password='123456',master_log ......