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

MYSQLÔÚWindows 2003ÉÏÁ¬½Ó²»ÉϵĽâ¾ö·½·¨

½ñÌì´î½¨mysqlÊý¾Ý¿â,Á¬½ÓÁË°ëÌì,¶¼Ìáʾ10061´íÎó,ÒÔΪÃÜÂë³öÁËÎÊÌâÊÔÁË°ëÌì,ѹ¸ùÁ¬·þÎñ¶¼Á¬½Ó²»ÉÏ,æ»îÁË°ë¸ö¶àСʱ,²Å·¢ÏÖÊÇϵͳ²¹¶¡´òÁËÖ®ºó³öÏÖµÄÎÊÌâ(kb967723)
ÓÚÊÇÍøÉÏÕÒÁËÒ»ÏÂ×ÊÁÏ
×î½üÒ»¸ö¿Í»§·þÎñÆ÷µÄMYSQLƵ·±ÌáʾÁ¬½Ó²»ÉÏ£¬ÐÞ¸ÄÁËMYSQLµÄ×î´óÁ¬½ÓÊý»¹ÊÇÕâÑù£¬ÓÚÊÇ¿ªÊ¼ÎÊÍòÄܵÄËÑË÷ÒýÇæ´óÈË£¡ÖÕÓÚÔÚ΢ÈíÕÒµ½Á˽â¾ö·½°¸£¡Ô­Òò:΢Èí9ÔÂ9ÈÕ·¢²¼ÁËTCP/IP¸üв¹¶¡£¨KB967723£©£¬Èç¹û·þÎñÆ÷¿ªÆô×Ô¶¯¸üлòÕßÓÐ×Ô¶¯¸üÐÂÈí¼þÏÂÔظüÐÂÁËÕâ¸ö²¹¶¡£¬ÄÇô¾Í»á³öÏÖÕâ¸öÎÊÌâ¡£ÓÐÈË¿ÉÄÜ»áÎÊ£¬ÎªÊ²Ã´9ºÅ³öÏֵIJ¹¶¡£¬µ½ÏÖÔڲŷ¢ÏÖÎÊÌ⣿´ó¼Ò¶¼ÖªµÀ£¬·þÎñÆ÷²»ÊÇÿÌ춼ÖØÆôµÄ£¬ÓеķþÎñÆ÷¿ÉÄÜÒ»¸öÔ»òÕßÒ»Äê°ëÔØÖØÆôÒ»´Î£¬ÓеĿÉÄÜÔÚ9ÔÂ9ÈÕÒÔºóÖØÆô¹ý·þÎñÆ÷£¬ËùÒÔ²¹¶¡ÉúЧÁË£¨ÎÒ¸öÈËÕâôÈÏΪ£©¡£Ö¢×´£º Can’t connect to MySQL server on ‘localhost’ (10061)
½â¾ö·½°¸£ºÀÏ·½·¨£ºÐ¶ÔØKB967723²¹¶¡£ºµÇ¼·þÎñÆ÷£¬½øÈë¿ØÖÆÃæ°å — Ìí¼ÓºÍɾ³ý³ÌÐò — £¨¹´Ñ¡ÉÏ·½µÄ“ÏÔʾ¸üД£©ÔÚÀïÃæ¿ÉÒÔ¿´µ½¸üеÄKB967723Õâ¸ö²¹¶¡£¬È»ºó¾ÍÏëжÔØÆÕͨÈí¼þÒ»ÑùжÔØ£¬Ð¶ÔØÖлáÌáʾÄ㣬Èç¹ûжÔØ¿ÉÄܵ¼Ö³ÌÐòÔËÐгö´í£¬Ã»¹Øϵ£¬Ñ¡Ôñ“ÊÇ”£¬¼ÌÐøжÔØ¡£Ð¶ÔØÍê³Éºó³ÌÐò·þÎñÆ÷£¬Ò»ÇÐÕý³££¡
з½·¨£ºÎ¢Èí¸ø³ö…ÖØÒª ´Ë²¿·Ö¡¢ ·½·¨£¬»òÈÎÎñ°üº¬¸æËßÄúÈçºÎÐÞ¸Ä×¢²á±íµÄ²½Öè¡£ µ«ÊÇ£¬Èç¹û´íÎóµØÐÞ¸Ä×¢²á±í£¬¾Í¿ÉÄÜ·¢ÉúÑÏÖصÄÎÊÌâ¡£ Òò´Ë£¬ÇëÈ·±£ÈÏÕæÖ´ÐÐÕâЩ²½Öè¡£ Ìí¼ÓµÄ±£»¤×¢²á±í֮ǰÏȱ¸·ÝÄúÐÞ¸ÄËü¡£ È»ºó£¬·¢ÉúÎÊÌâʱ¿ÉÒÔ»¹Ô­×¢²á±í¡£ ÓйØÈçºÎ±¸·ÝºÍ»¹Ô­ÔÚ×¢²á±íµÄÏêϸÐÅÏ¢£¬µ¥»÷ÏÂÃæµÄÎÄÕ±àºÅ£¬ÒԲ鿴 Microsoft ֪ʶ¿âÖÐÏàÓ¦£º
322756 (http://support.microsoft.com/kb/322756/ ) ÈçºÎ±¸·ÝºÍ»¹Ô­ÔÚ Windows ×¢²á±í
ĬÈÏ×î´óµÄÁÙʱ TCP ¶Ë¿ÚµÄÊýÊÇ 5000 ÊÊÓÃÓÚÒ»½ÚÖаüº¬µÄ²úÆ·ÖС£ ÔÚÕâЩ²úÆ·ÖÐÌí¼ÓÒ»¸öвÎÊý¡£ ÒªÌá¸ßÁÙʱ¶Ë¿ÚµÄÉÏÏÞ£¬Çë°´ÕÕÏÂÁв½Öè²Ù×÷£º
Æô¶¯×¢²á±í±à¼­Æ÷¡££¨¿ªÊ¼—ÔËÐЗREGEDIT£©
ÔÚµÄ×¢²á±íÖÐÕÒµ½ÒÔÏÂ×ÓÏȻºóµ¥»÷ ²ÎÊý £ºHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
ÔÚ ±à¼­ ²Ëµ¥Éϵ¥»÷ н¨ £¬£¬£¬È»ºóÌí¼ÓÏÂÃæµÄ×¢²á±íÏÊýÖµÃû³Æ£º MaxUserPort
ÖµÀàÐÍ: DWORD
ÖµÊý¾Ý£º 65534 (×¢ÒâÊÇÊ®½øÖÆ)
ÓÐЧ·¶Î§£º 5000-65534 (Ê®½øÖÆ)
ĬÈÏÖµ£º 0×1388 (5000 Ê®½øÖÆ)
˵Ã÷£º ´Ë²ÎÊý½«¿ØÖƳÌÐò´ÓϵͳÇëÇóÈκοÉÓõÄÓû§¶Ë¿ÚʱʹÓõÄ


Ïà¹ØÎĵµ£º

mysqlÈÕÆÚºÍʱ¼ä¸ñʽת»»

¶ÔÓÚÿ¸öÀàÐÍÓµÓеÄÖµ·¶Î§ÒÔ¼°²¢ÇÒÖ¸¶¨ÈÕÆÚºÎʱ¼äÖµµÄÓÐЧ¸ñʽµÄÃèÊö¼û7.3.6 ÈÕÆÚºÍʱ¼äÀàÐÍ¡£
ÕâÀïÊÇÒ»¸öʹÓÃÈÕÆÚº¯ÊýµÄÀý×Ó¡£ÏÂÃæµÄ²éѯѡÔñÁËËùÓмǼ£¬Æädate_colµÄÖµÊÇÔÚ×îºó30ÌìÒÔÄÚ£º
mysql> SELECT something from table
WHERE TO_DAYS(NOW()) - TO_DAYS(date_col) <= 30;
DAYOFWEEK(date)
·µ»ØÈÕÆ ......

MYSQL£ºCannot convert value '0000

½ñÌì´ÓMYSQLÊý¾Ý¿âץȡʱ£¬·¢ÉúÁËCannot convert value '0000-00-00 00:00:00' from column 10 to TIMESTAMPÒì³£
googleÁËһϣ¬´ó¸ÅÒâ˼ÊÇMySQLÖеÄDatetimeÖµÎÞ·¨ÔÙJAVAÖпɿ¿µÄ±»±íʾ£¬°´ÕÕJDBCºÍSQLµÄ±ê׼ĬÈÏÇé¿öϲúÉúÒì³£¡£
JDBCÔÊÐíÓÃÏÂÁеÄÖµ¶ÔzeroDateTimeBehavior ÊôÐÔÀ´ÉèÖÃÕâЩ´¦Àí·½Ê½£¬
exception (the d ......

[Ô­´´] MySQL Proxy ѧϰ±Ê¼Ç


[Ô­´´] MySQL Proxy ѧϰ±Ê¼Ç
×÷Õߣºheiyeluren
ʱ¼ä£º2008-1-28
²©¿Í£ºhttp://blog.csdn.net/heiyeshuwu
¡¾ ²âÊÔƽ̨ ¡¿
·þÎñÆ÷¶Ë£º
OS£ºFreeBSD 6.2
Lua£º 5.1.1
MySQL Server£º4.1.22-log
MySQL Proxy£º 0.6.0
¿Í»§¶Ë£º
OS£ºWindows XP Pro SP2
PHP£º PHP 5.2.4 (cli)
MySQL Client£º Ver 14.13 Distrib ......

MySQLÖÐInnoDBºÍMyISAMµÄ²î±ð

InnoDBºÍMyISAMÊÇÔÚʹÓÃMySQL×î³£ÓõÄÁ½¸ö±íÀàÐÍ£¬¸÷ÓÐÓÅȱµã£¬ÊÓ¾ßÌåÓ¦Óöø¶¨¡£ÏÂÃæÊÇÒÑÖªµÄÁ½ÕßÖ®¼äµÄ²î±ð£¬½ö¹©²Î¿¼¡£
innodb 
      InnoDB ¸ø MySQL ÌṩÁ˾ßÓÐÊÂÎñ(commit)¡¢»Ø¹ö(rollback)ºÍ±ÀÀ£ÐÞ¸´ÄÜÁ¦(crash recovery capabilities)µÄÊÂÎñ°²È«(transaction-safe (ACID complian ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ