MySQLÊý¾Ý¿âÊÂÎñÊý¾Ý¿â(IoDBÀàÐÍ)µÄ°²×°·½·¨_MySQLÊý¾Ý¿â_ºÚ¿Í·ÀÏßÍø°²·þÎñÆ÷ά»¤»ùµØ--Powered by WWW.RONGSEN.COM.CN

MySQLÊý¾Ý¿âÊÂÎñÊý¾Ý¿â(IoDBÀàÐÍ)µÄ°²×°·½·¨

×÷ÕߣººÚ¿Í·ÀÏßÍø°²MYSQLά»¤»ùµØ À´Ô´£ººÚ¿Í·ÀÏßÍø°²MYSQLά»¤»ùµØ ä¯ÀÀ´ÎÊý£º0

±¾Æª¹Ø¼ü´Ê£ºÊý¾Ý¿â°²×°·½·¨ÀàÐÍ
ºÚ¿Í·ÀÏßÍø°²ÍøѶ£ºMySQLÊý¾Ý¿â·Ö¶þÖÖÀàÐÍ£¬Ò»ÖÖÊÇ´«Í³µÄÊý¾Ý±í¸ñʽ£¬Ò»ÖÖÊÇÖ§³ÖÊÂÎñ´¦ÀíµÄÊý¾Ý±í¸ñʽ(InnoDB,BDB,ÆäÖÐÒÔInnoDBΪÖ÷),ÏÂÃæÎÒ½éÉÜһϹØÓÚMySQLÊÂÎñ´¦ÀíÊý¾Ý¿âµÄ°²×°¼°Ê¹Ó÷½·¨ÄãÏÈҪȥÏÂÔØÒ»ÏÂ...

MySQLÊý¾Ý¿â·Ö¶þÖÖÀàÐÍ£¬Ò»ÖÖÊÇ´«Í³µÄÊý¾Ý±í¸ñʽ£¬Ò»ÖÖÊÇÖ§³ÖÊÂÎñ´¦ÀíµÄÊý¾Ý±í¸ñʽ(InnoDB,BDB,ÆäÖÐÒÔInnoDBΪÖ÷),ÏÂÃæÎÒ½éÉÜһϹØÓÚMySQLÊÂÎñ´¦ÀíÊý¾Ý¿âµÄ°²×°¼°Ê¹Ó÷½·¨ÄãÏÈҪȥÏÂÔØÒ»ÏÂMysql max°æµÄ°²×°³ÌÐò£¬ÏÂÔصØÖ·£ºwww.mysql.com
°´³£¹æµÄ·½·¨½øÐа²×°

°²×°Íê³Éºó£¬Æô¶¯mysqlinWinMySQLadmin

ÔÙÍ˳ö

ÔËÐÐ
mysqlinmydqld-nt --remove
mysqlinmysqld-max-nt --install

ÒÔÉ϶þÐÐÊÇÈ¥µô²»Ö§³ÖÊÂÎñ´¦ÀíµÄmysql·þÎñ£¬¸Ä³ÉÖ§³ÖmysqlÊÂÎñ´¦ÀíµÄ·þÎñ

È»ºóÔÚc:Ͻ¨Ò»¸öibdataĿ¼¼°iblogsĿ¼£¬µ±È»Ãû×Ö¿ÉÒÔ²»Ò»Ñù£¬¼ÇסÕâ¶þ¸öÃû×Ö¼°ÅÌ·û£¬ÒÔºóÒªÓõ½£¬ÄãÒ²¿ÉÒÔ²»½¨ÔÚCÅÌ£¬È»ºó£¬´ò¿ªc:winnt»òc:windowsĿ¼ÏµÄmy.ini,ÔÚ×îºóÌí¼Ó£º[code]

innodb_data_file_path = ibdata1:2000M;ibdata2:2000M
innodb_data_home_dir = c:ibdata
set-variable = innodb_mirrored_log_groups=1
innodb_log_group_home_dir = c:iblogs
set-variable = innodb_log_files_in_group=3
set-variable = innodb_log_file_size=30M
set-variable = innodb_log_buffer_size=8M
innodb_flush_log_at_trx_commit=1
innodb_log_arch_dir = c:iblogs
innodb_log_archive=0
set-variable = innodb_buffer_pool_size=80M
set-variable = innodb_additional_mem_pool_size=10M
set-variable = innodb_file_io_threads=4
set-variable = innodb_lock_wait_timeout=50
[/code]
ÆäÖÐ
innodb_data_file_path = ibdata1:2000M;ibdata2:2000M

ÕâÒ»ÐÐÖеÄ2000M¿ÉÒÔ×Ô¼º¸Ä³É200m£¬¿´ÄãÅ̵ÄÈÝÁ¿´óС£¬mysqlÍƼö10G¼°ÒÔÉϵÄÓ²ÅÌ¿Õ¼ä×îºÃÓÃÕâÑùµÄÉèÖÃ;
ÒÔÏÂÕâÒ»ÐÐ

innodb_data_home_dir = c:ibdata

Ò²¿ÉÒԸijÉÄã×Ô¼ºÆðµÄĿ¼£¬Ö÷ÒªÊÇ¿´Äã×Ô¼ºÔڸղŽ¨µÄĿ¼ÔÚÄÄÀïÀ²

°´ÕÕÒÔÉϵķ½·¨£¬ÄãÒѾ­°²×°ºÃÁËmysqlµÄÊÂÎñÊý¾Ý¿â£¬²»¹ýÄãÒªÊÇ°´ÕÕmysqlÊÖ²áÉϵķ½·¨°²×°£¬°ÑÉÏÃæµÄÒ»¶ÎÅäÖƷŵ½my.cnfÊÇÈ¥µÄ»°£¬¿ÉÊÇ»á³ö´íŶ

ºÃÁË£¬ÏÖÔÚÈÃÎÒÃÇÊÔÊÔ¿´ÊDz»ÊÇ°²×°Íê³ÉÁË£¬Æô¶¯apache,»òiis,ÔÚ·þÎñÀïÆô¶¯mysqlµÄ·þÎñ£¬´ò¿ªphpmyadmin£¬ÊäÈë:SHOW variables like "have_%"

ÄãÒªÊÇ¿´µ½ÏÂÃæµÄ½á¹û£¬ÄÇ˵Ã÷Äã°²×°³É¹¦ÁË

[code]
Variable_name Value
have_bdb YES
have_innodb YES
have_isam YES
have_raid NO
have_symlink YES
have_openssl NO
have_query_cache YES
[/code]

×¢£ºmysqlµÄÊÂÎñ´¦Àí·½·¨µÄʹÓÃͬÆäËüÊý¾Ý¿âÓï·¨ÏàËÆ£¬ÔÚÕâÀïÎҾͲ»¶à˵ÁË£¬ÁíÍ⣬Mysql½«ÔÚ4.3ÖÐʵÏÖÍâ¼ü¼°×Ó²éѯ£¬¼òµ¥µÄÍâ¼üÒѾ­ÔÚ4.0Öж¼ÒѾ­ÊµÏÖÁË£¬Ö»ÊDz»Ôõô·½±ã£¬ÏàÐÅÒÔºó»á×öµÃ¸üºÃЩ¡£

¹ØÓÚÊÂÎñ±íµÄʹÓã¬ÎÒÒѾ­³É¹¦µØÔÚÎÒµÄÍøÉ϶©µ¥¹ÜÀíϵͳÖÐʵÏÖ£¬Ð§¹û»¹²»´í£¬Ö»ÊÇ»¹Ã»Óо­¹ý´óÊý¾ÝÁ¿µÄʵ¼ù
ÒÔÉÏÎÄÕÂÊDZ¾ÈË×Ô¼º¸ù¾Ýʵ¼ùд³öÀ´µÄ£¬ÈçҪתÔØ£¬Çë×¢Ã÷³ö´¦¼°×÷Õߣ¬Ò²»¶Ó­´ó¼ÒºÍÎÒÒ»ÆðÌÖÂÛ¹ØÓÚMysqlÊÂÎñ±íµÄһЩÎÊÌâ

    ºÚ¿Í·ÀÏßÍø°²·þÎñÆ÷ά»¤·½°¸±¾ÆªÁ¬½Ó£ºhttp://www.rongsen.com.cn/show-8197-1.html
Íøվά»¤½Ì³Ì¸üÐÂʱ¼ä:2012-03-20 04:50:25  ¡¾´òÓ¡´ËÒ³¡¿  ¡¾¹Ø±Õ¡¿
ÎÒÒªÉêÇë±¾Õ¾£ºNµã | ºÚ¿Í·ÀÏß¹ÙÍø |  
רҵ·þÎñÆ÷ά»¤¼°Íøվά»¤ÊÖ¹¤°²È«´î½¨»·¾³£¬ÍøÕ¾°²È«¼Ó¹Ì·þÎñ¡£ºÚ¿Í·ÀÏßÍø°²·þÎñÆ÷ά»¤»ùµØÕÐÉ̽øÐÐÖУ¡QQ:29769479

footer  footer  footer  footer