Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

È¡ÏûMySQLÖÐÊäÈëÃüÁî³ö´íʱµÄ±¨¾¯Éù


ÔÚÁ¬½ÓMySQLʱ£¬¿ÉÒÔ¼ÓÉÏ-b²ÎÊý£¬ÓÃÒÔÈ¡ÏûÔÚSQLÃüÁîÖ´Ðгö´íʱµÄ±¨¾¯Éù£¬È磺
mysql -h127.0.0.1 -uroot -proot -b
ÕâÑùÔÚÊäÈëÃüÁî³ö´íʱ£¬±ã²»»áÔÙÌýµ½ÄÇÉùÄÑÌýµÄ"àÖ"ÁË¡£
ÁíÍ⻹ÓÐ2¸ö¹Ø±ÕMYSQLµÄBEEPÉù·½·¨
1. ʹÓÃMySQLµÄÃüÁîÖÕ¶Ëʱ£¬Èç¹ûÊäÈëSQLÓÐÎ󣬽«ÓÐbeepÉù¡£ÈôÒª¹Ø±Õ¸Ã¹¦ÄÜ£¬¸ù¾Ýmysql --help£¬Ê¹ÓÃmysql --no-beep¼´¿É¡£ÐÞ¸Ämy.ini ÔÚ[mysql] ϼÓÈëÒ»ÐÐ no-beep ÖØÐÂÆô¶¯MYSQL¼´¿É¡£
·½·¨2.ÎҵĵçÄÔÓÒ¼ü->Ó²¼þ->É豸¹ÜÀíÆ÷-> ²é¿´-> ÏÔʾÒþ²ØÉ豸,È»ºóÔÚ"·Ç¼´²å¼´ÓÃÇý¶¯³ÌÐò"ÖÐÕÒµ½"Beep"-> Ë«»÷´ò¿ªBeepÊôÐÔ-> Çý¶¯³ÌÐò-> Í£Ö¹
ÆäÖз½·¨2Ò²¹Ø±ÕÁËÆäËûËùÓеÄÓ²¼þ±¨¾¯Éù£¬ÀýÈçÔÚÐéÄâ»úÖÐÔËÐÐLinuxµÄʱºò¡£


Ïà¹ØÎĵµ£º

mysql µ¼³öÊý¾Ý¿â

     ½øÈëcmd
     ===================
     1.µ¼³öÊý¾Ý¿â£¨sql½Å±¾£©
     mysqldump -u Óû§Ãû -p Êý¾Ý¿âÃû > µ¼³öµÄÎļþÃû
¡¡¡¡mysqldump -u root -p db_name > test_db.sql
¡¡¡¡2.mysqlµ¼³öÊý¾Ý¿âÒ ......

Mysql µ¼³ösqlÎļþ

Ò».MYSQLµÄÃüÁîÐÐģʽµÄÉèÖãº
×ÀÃæ->ÎҵĵçÄÔ->ÊôÐÔ->»·¾³±äÁ¿->н¨->
PATH=“£»path\mysql\bin;”ÆäÖÐpathΪMYSQLµÄ°²×°Â·¾¶¡£
¶þ.¼òµ¥µÄ½éÉÜÒ»ÏÂÃüÁîÐнøÈëMYSQLµÄ·½·¨£º
1.C:\>mysql -h hostname -u username -p
°´ENTER¼ü£¬µÈ´ýÈ»ºóÊäÈëÃÜÂë¡£ÕâÀïhostnameΪ·þÎñÆ÷µÄÃû³Æ£¬Èçlocalh ......

̸¹ØÓÚmysqlÖÐÎÄÄ£ºý²éÕÒÎÊÌâ


Ðí¶àÅóÓÑÔÚʹÓÃmysql½øÐÐÖÐÎÄÄ£ºý²éÕÒʱ(Èçselect * from mytable where mysqlname like "%ÖÐÎÄ%"),¾ÍÏóÎÒÏÖÔÚÒ»Ñù£¬ÕÒµ½²»Ó¦ÕÒµ½µÄÐÐ!
ÓÐһЩÅóÓÑÌá³öÁ˽â¾ö°ì·¨£¬´óÖÂÓÐÁ½ÖÖ£º
ÆäÒ»£¬¼Ó×Ö¶ÎÊôÐÔbinary(),
Æä¶þ,¸Ämy.cfgÆô¶¯²ÎÊýΪdefault-character-set =gbk(»ògb2312).
ÎÒ´ÓÎÊÌâµÄ¸ù±¾Ô­Òò·ÖÎö£¬
ÆäÒ»£¬×Öĸ ......

Amoeba for mysql 1.0.2 beta°æ±¾·¢²¼

ת×Ô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
ÏÂÔØµØ ......

ͬ²½Æô¶¯Ñ¡Ïî(mysql ͬ²½)

²»¹ÜÊÇmaster»¹ÊÇslave£¬¶¼ÒªÉ趨 server-id Ñ¡ÏîÀ´È·¶¨Ê¹ËüÃǶ¼Óи÷×ÔΨһµÄͬ²½ID¡£±ØÐëÑ¡Ôñ 1 µ½ 2^32-1 Ö®¼äµÄÕýÕûÊý¡£ÀýÈ磺 server-id=3¡£
¹ØÓÚmaster·þÎñÆ÷ÉÏ¿ÉÓÃÓÚ¿ØÖƶþ½øÖÆÈÕÖ¾¼Ç¼µÄÑ¡ÏîÏêϸÃèÊöÇë¿´"5.9.4 The Binary Log"¡£
ϱíÃèÊöÁËslaveͬ²½¿ÉÓõÄÑ¡Ï¿ÉÒÔÔÚÃüÁîÐлòÕßÅäÖÃÎļþÖÐÉ趨ËüÃÇ¡£
һЩslav ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ