¹ØÓÚmysql for windowsµÄ±¸·ÝÎÊÌâ
ÎÒÊÇʹÓÃmysqldump½øÐб¸·Ý£¬µ«ÊDZ¸·Ý³öÀ´µÄÖ»Óбí½á¹¹ºÍÊý¾Ý£¬È´Ã»Óб¸·Ý³öÊÓͼ£¬´æ´¢ºÍ´¥·¢Æ÷µÈÆäËûµÄÄÚÈÝ£¬ÏëÇë½ÌÈçºÎÄܹ»°ÑÊý¾Ý¿âÖÐËùÓÐÄÚÈÝÈ«²¿±¸·Ý³öÀ´£¬Ð»Ð»¡£ÎÒµÄÓï¾ä£º
C:\Documents and Settings\biao.yang>mysqldump --opt test -u root --password=qwe123 > d:\ab.sql
лл¥ÉϵÄÐǪ̈£¬µ«ÊÇºÜÆæ¹Ö£¬ÎÒ¼ÓÁËÕâ¸öÑ¡Ïîºó£¬´æ´¢±¸·Ý³öÀ´µÄ²»ÍêÈ«£¬²»ÖªµÀÔõô»ØÊ£¬Ô´Êý¾Ý¿âÖÐÓд洢¹ý³Ì90Ìõ£¬µ«ÊÇÏÖÔÚ±¸·Ý³öÀ´µÄÖ»ÓÐ2Ìõ£¬ÕâÑùÊÇÔõô»ØÊÂ.лл¡£
show procedure status ¿´Ò»Ï£¬ÕâЩ´æ´¢¹ý³Ì¶¼ÊÇÄãÕâ¸öÊý¾Ý¿âµÄÂð£¿
¶Ô²»Æð ¸ã´íÁË ÊDZ¸·Ý³öÀ´ÁË µ«ÊÇÔõôȫ²¿¶¼ÊÇÒÔ±¸×¢µÄ·½Ê½ÏÔʾµÄÄØ ²»ÄÜ»¹Ô³öÀ´°¡
acmain_chm»¹ÔÚô¡£¡£
/*!50020 DEFINER=`root`@`localhost`*/ /*!50003 PROCEDURE
ÄãËù˵µÄ ±¸×¢ÊÇÖ¸Õâ¸öÂð£¿
×¢ÒâËüµÄÓï·¨ÊÇ /*! ¶àÁ˸ö ! ÕâÑùÊǻᱻMYSQLÖ´Ðеġ£
/*! MySQL-specific code */
In this case, MySQL Server parses and executes the code within the comment as it would any other SQL statement, but other SQL servers will ignore the extensions. For example, MySQL Server recognizes the STRAIGHT_JOIN keyword in the following statement, but other servers will not:
SELECT /*! STRAIGHT_JOIN */ col1 from table1,table2 WHERE ...
If you add a version number after the ¡°!¡± character, the syntax within the comment is executed only if the MySQL version is greater than or equal to the specified version number. The TEMPORARY keyword in the following comme
Ïà¹ØÎÊ´ð£º
ÎÒÓÐÒ»¸öjava»·¾³ÏµijÌÐò£¬ÔÚ±¾»úÔËÐÐÕý³££¬µ«·¢²¼µ½ÍøµÄÐéÄâÖ÷»úʱ²»ÄÜÁ¬½ÓÊý¾Ý¿âÁ¬½Ó³Ø
jdk 1.6 tomcat6.0.18 mysql5 mysqljdbc5.1.5
ÐéÄâÖ÷»úµÄ¼¼ÊõÈËԱ˵£¬Ö»ÄÜÅäÖþÖÓòµÄÊý¾Ý¿âÁ¬½Ó³Ø£¬Ò²¾ÍÊÇÔÚM ......
ÈçÌâ Êý¾ÝÊÇBLOBÀàÐÍ Ôõô²ÅÄÜÐÞ¸ÄÆäÖеÄijЩֵ
BLOBÖдæÈëµÄÊÇʲôÄÚÈÝ£¿
¼ÙÉè×Ö¶ÎmemoΪblobÀàÐÍ£¬ÔÚ¸Ã×ֶεÄÖµÇ°ÃæÔö¼Ó×Ö·û´®'add--'
Ôò²Ù×÷Óï¾äÈçÏ£º
SQL code:
update tb_blog set memo=concat( ......
ÈçÌ⣬MySQL²»»áÕâÑù°É
Ö§³Ö£¬Ä㽨Á¢Êý¾Ý¿âµÄʱºòÖ¸¶¨×Ö·û¼¯utf8»òÕßgbk¾ÍÐÐÁË¡£
http://blog.csdn.net/ACMAIN_CHM/archive/2009/05/12/4174186.aspx
MySQL ÖÐÎÄÏÔʾÂÒÂë
Ö§³Ö£¬¼ì²é×Ö·û¼¯ÉèÖÃ
Ö§³Ö£¬¼ì² ......
ÎÒ¿ª·¢ASP.netʱ
²åÈëÍâÎÄÂÒÂë
SHOW VARIABLES LIKE 'character%';
Õâ¸öʱºò
character_set_client utf8
character_set_connection utf8
character_set_database utf8
ch ......
ÎÒµÄmysqlÔõôûÓа취дÈëÖÐÎÄÊý¾Ý£¿Ö»ÒªÊÇÊý¾ÝдÈëÊý¾Ý¿âʱ ¾Í»á±ä³ÉÈý¸öÎʺŠ£¿Çë½Ì¸ßÈË£¡£¡
linux? ÔõôдÈëµÄ
ÔÚmysqlÖÐÖ´ÐÐ show variables like 'character%'Ìù½á¹û³öÀ´¡£
ÔÚ°²×°MYSLQʱ½«Êý¾Ý¿âµÄ×Ö· ......