mysql´æ´¢ÒýÇæÖ® InnoDB
InnoDB¸ÅÊö
InnoDB¸øMySQLÌṩÁ˾ßÓÐÌá½»£¬»Ø¹öºÍ±ÀÀ£»Ö¸´ÄÜÁ¦µÄÊÂÎñ°²È«£¨ACID¼æÈÝ£©´æ´¢ÒýÇæ¡£InnoDBËø¶¨ÔÚÐм¶²¢ÇÒÒ²ÔÚSELECTÓï¾äÌṩһ¸öOracle·ç¸ñÒ»ÖµķÇËø¶¨¶Á¡£ÕâЩÌØÉ«Ôö¼ÓÁ˶àÓû§²¿ÊðºÍÐÔÄÜ¡£Ã»ÓÐÔÚInnoDBÖÐÀ©´óËø¶¨µÄÐèÒª£¬ÒòΪÔÚInnoDBÖÐÐм¶Ëø¶¨ÊʺϷdz£Ð¡µÄ¿Õ¼ä¡£InnoDBÒ²Ö§³ÖFOREIGN KEYÇ¿ÖÆ¡£ÔÚSQL²éѯÖУ¬Äã¿ÉÒÔ×ÔÓɵؽ«InnoDBÀàÐ͵ıíÓëÆäËüMySQLµÄ±íµÄÀàÐÍ»ìºÏÆðÀ´£¬ÉõÖÁÔÚͬһ¸ö²éѯÖÐÒ²¿ÉÒÔ»ìºÏ¡£
InnoDBÊÇΪ´¦Àí¾Þ´óÊý¾ÝÁ¿Ê±µÄ×î´óÐÔÄÜÉè¼Æ¡£ËüµÄCPUЧÂÊ¿ÉÄÜÊÇÈκÎÆäËü»ùÓÚ´ÅÅ̵ĹØϵÊý¾Ý¿âÒýÇæËù²»ÄÜÆ¥µÐµÄ¡£
InnoDB´æ´¢ÒýÇæ±»ÍêÈ«ÓëMySQL·þÎñÆ÷ÕûºÏ£¬InnoDB´æ´¢ÒýÇæΪÔÚÖ÷ÄÚ´æÖлº´æÊý¾ÝºÍË÷Òý¶øά³ÖËü×Ô¼ºµÄ»º³å³Ø¡£InnoDB´æ´¢ËüµÄ±í£¦Ë÷ÒýÔÚÒ»¸ö±í¿Õ¼äÖУ¬±í¿Õ¼ä¿ÉÒÔ°üº¬Êý¸öÎļþ£¨»òÔʼ´ÅÅÌ·ÖÇø£©¡£ÕâÓëMyISAM±í²»Í¬£¬±ÈÈçÔÚMyISAM±íÖÐÿ¸ö±í±»´æÔÚ·ÖÀëµÄÎļþÖС£InnoDB ±í¿ÉÒÔÊÇÈκγߴ磬¼´Ê¹ÔÚÎļþ³ß´ç±»ÏÞÖÆΪ2GBµÄ²Ù×÷ϵͳÉÏ¡£
InnoDBĬÈϵر»°üº¬ÔÚMySQL¶þ½øÖÆ·Ö·¢ÖС£Windows Essentials installerʹInnoDB³ÉΪWindowsÉÏMySQLµÄĬÈÏ±í¡£
InnoDB±»ÓÃÀ´ÔÚÖÚ¶àÐèÒª¸ßÐÔÄܵĴóÐÍÊý¾Ý¿âÕ¾µãÉϲúÉú¡£ÖøÃûµÄInternetÐÂÎÅÕ¾µãSlashdot.orgÔËÐÐÔÚInnoDBÉÏ¡£Mytrix, Inc.ÔÚInnoDBÉÏ´æ´¢³¬¹ý1TBµÄÊý¾Ý£¬»¹ÓÐһЩÆäËüÕ¾µãÔÚInnoDBÉÏ´¦Àíƽ¾ùÿÃë800´Î²åÈë/¸üеĸººÉ¡£
InnoDBÅäÖÃ
InnoDB´æ´¢ÒýÇæÊÇĬÈϵر»ÔÊÐíµÄ¡£Èç¹ûÄã²»ÏëÓÃInnoDB±í£¬Äã¿ÉÒÔÌí¼Óskip-innodbÑ¡Ïîµ½MySQLÑ¡ÏîÎļþ¡£
±»InnoDB´æ´¢ÒýÇæ¹ÜÀíµÄÁ½¸öÖØÒªµÄ»ùÓÚ´ÅÅ̵Ä×ÊÔ´ÊÇInnoDB±í¿Õ¼äÊý¾ÝÎļþºÍËüµÄÈÕÖ¾Îļþ¡£
Èç¹ûÄãÖ¸¶¨ÎÞInnoDBÅäÖÃÑ¡ÏMySQL½«ÔÚMySQLÊý¾ÝĿ¼Ï´´½¨Ò»¸öÃûΪibdata1µÄ10MB´óСµÄ×Ô¶¯À©Õ¹Êý¾ÝÎļþ£¬ÒÔ¼°Á½¸öÃûΪib_logfile0ºÍib_logfile1µÄ5MB´óСµÄÈÕÖ¾Îļþ¡£
×¢ÊÍ£ºInnoDB¸øMySQLÌṩ¾ßÓÐÌá½»£¬»Ø¹öºÍ±ÀÀ£»Ö¸´ÄÜÁ¦µÄÊÂÎñ°²È«£¨ACID¼æÈÝ£©´æ´¢ÒýÇæ¡£Èç¹ûÄâÔËÐеIJÙ×÷ϵͳºÍÓ²¼þ²»ÄÜÈç¹ã¸æ˵µÄÄÇÑùÔËÐУ¬InnoDB¾Í²»ÄÜʵÏÖÈçÉÏÄÜÁ¦¡£Ðí¶à²Ù×÷ϵͳ»ò´ÅÅÌ×Óϵͳ¿ÉÄÜΪ¸ÄÉÆÐÔÄܶøÑÓ³Ù»ò¼Ç¼д²Ù×÷¡£ÔÚһЩ²Ù×÷ϵͳÉÏ£¬¾ÍÊÇϵͳµ÷Óã¨fsync()£© Ò²ÒªµÈ×Å£¬Ö±µ½ËùÓÐδдÈëÒѱ»Ë¢ÐÂÎļþµÄÊý¾ÝÔÚ±»Ë¢Ðµ½Îȶ¨ÄÚ´æ֮ǰ¿ÉÒÔȷʵ·µ»ØÁË¡£ÒòΪÕâ¸ö£¬²Ù×÷ϵͳ±ÀÀ£»òµôµç¿ÉÄÜË𻵵±Ç°Ìá½»µÄÊý¾Ý£¬»òÕßÔÚ×µÄ Çé¿ö£¬ÒòΪд²Ù×÷Òѱ»¼Ç¼ÁË£¬ÉõÖÁÆÆ»µÁËÊý¾Ý¿â¡£Èç¹ûÊý¾ÝÍêÕûÐÔ¶ÔÄãºÜÖØÒª£¬ÄãÓ¦¸ÃÔÚÓÃÈκγÌÐòÓÚÉú²úÖÐ֮ǰ×öһЩ“pull
Ïà¹ØÎĵµ£º
JDBCÁ¬½ÓMySQLÊý¾Ý¿â¹Ø¼üµÄËĸö²½Öè http://www.mesfr.com
Ò»¡¢²éÕÒÇý¶¯³ÌÐò
¡¡¡¡MySQLÄ¿Ç°ÌṩµÄJavaÇý¶¯³ÌÐòΪConnection/J£¬¿ÉÒÔ´ÓMySQL¹Ù·½ÍøÕ¾ÏÂÔØ£¬²¢ÕÒµ½mysql-connector-java-3.0.15-ga-bin.jarÎļþ£¬´ËÇý¶¯³ÌÐòΪ´¿JavaÇý¶¯³ÌÐò£¬JDBCÁ´½ÓMySQL²»Ðè×öÆäËûÅäÖá£
¶þ¡¢¶¯Ì¬Ö¸¶¨classpath
¡¡¡¡Èç¹ûÐèÒªÖ´ÐÐʱ¶¯Ì¬ ......
SQL Injection with MySQL
±¾ÎÄ×÷Õߣºangel
ÎÄÕÂÐÔÖÊ£ºÔ´´
·¢²¼ÈÕÆÚ£º2004-09-16
±¾ÎÄÒѾ·¢±íÔÚ¡¶ºÚ¿Í·ÀÏß¡·7Ô¿¯£¬×ªÔØÇë×¢Ã÷¡£ÓÉÓÚдÁ˺ܾã¬Ëæ׿¼ÊõµÄ½ø²½£¬±¾ÈËÒ²·¢ÏÖ¸ÃÎÄÀïÓв»ÉÙ´íÎóºÍÂÞàµĵط½¡£Çë¸÷λ¸ßÊÖ¿´Á˲»ÒªÐ¦¡£±¾ÎÄдÓÚ¡¶Advanced SQL Injection with MySQL¡·Ö®Ç°Ò»¸öÔ¡£
ÉùÃ÷
¡¡¡¡±¾ÎĽöÓÃÓÚ½ ......
Á¬½ÓMySQLÊý¾Ý¿âʱ³£»á³öÏÖÈçϵĴíÎóÌáʾ£º
#1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
³öÏÖÕâÖÖÎÊÌâÊÇÔÚMySQL4.1ÒÔÉÏ°æ±¾£¬ÔÒòMySQL·þÎñÆ÷°æ±¾Ê¹ÓÃÁËеÄÃÜÂëÑéÖ¤»úÖÆ£¬Æä½â¾ö·½·¨ÈçÏ£º
mysql>;set password for 'Óû§Ãû' @ 'Ö÷»úÃû' = old ......
½ñÌìÔÚUbuntuÏ°²×°ÁËmysql server£¬ È»ºóÊÔͼÔÚwinxpÏÂÃæÓÃMysql GUI toolÁ´½Ó£¬½á¹û×ÜÊÇʧ°Ü£¬ÏÔʾ´íÎóºÅΪ2003.
ÏÂÃæÊÇ̽Ë÷¹ý³Ì£º
1.Ê×ÏÈ»³ÒÉÊÇUbuntuÏÂÃæÓзÀ»ðǽ£¬ ÔÚwinxpÏÂÃæping¿ÉÒÔpingͨ£¬ UbuntuÏÂÃæÖ´ÐÐ "ufw status" ÏÔʾҲÊÇinactiveµÄ£»
˵Ã÷ºÍ·À»ðǽûÓйØϵ¡£
2. »³ÒÉmysql ûÓÐÆðÀ´£¬ ÔÚUbuntuÏÂÃæÖ´ ......
×î½üÏëÔÚ·þÎñÆ÷ÉÏÊÔÊÔMySQL5.1µÄ·ÖÇø£¬ÓÚÊǾÍÏë×Å×°¸öMySQL5.1£¬¾¹ýÍ´¿àµÄÒ»¶Î¾Àúºó£¬ÖÕÓÚÕÒ¸öÏÂÃæ×°¸öºÜºÃµÄ½Ì³Ì£¬ÌûÉÏÀ´±¸Íü¡£
1¡¢MySQLÃâ°²×°°æ/¶þ½øÖÆ°æÈí¼þ£¬²»ÓñàÒ룬ÏÂÔصØÖ·£º
http://dev.mysql.com/downloads/
Îļþ¸ñʽ£ºMYSQL-VERSION-OS.tar.gz
2¡ ......