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

MySQL±íÀàÐͼòµ¥¶Ô±È

MySQLΪÎÒÃÇÌṩÁ˺ܶà±íÀàÐ͹©Ñ¡Ôñ£¬ÓÐMyISAM¡¢ISAM¡¢HEAP¡¢BerkeleyDB¡¢InnoDB£¬MERGE±íÀàÐÍÿһÖÖ±íÀàÐͶ¼ÓÐÆä×Ô¼ºµÄÊôÐÔºÍÓŵ㡣ÏÂÃæÎÒÃÇÀ´¼òµ¥µÄÌÖÂÛһϡ£
MyISAM±íÀàÐÍ£º
MyISAM
±í(TYPE=MYISAM)ÊÇISAMÀàÐ͵ÄÒ»ÖÖÑÓÉ죬¾ßÓкܶàÓÅ»¯ºÍÔöÇ¿µÄÌØÐÔ¡£ÊÇMySQLµÄĬÈϱíÀàÐÍ¡£MyISAMÓÅ»¯ÁËѹËõ±ÈÀýºÍËٶȣ¬²¢ÇÒ
¿ÉÒԺܷ½±ãµÄÔÚ²»Í¬µÄ²Ù×÷ϵͳºÍƽ̨֮¼ä½øÐÐÒÆÖ²¡£MyISAMÖ§³Ö´ó±íÎļþ(´óÓÚ4G)ÔÊÐí¶ÔBLOBºÍTEXTÁнøÐÐË÷ÒýÖ§³ÖʹÓüüǰ׺ºÍʹÓÃÍêÕûµÄ
¼üËÑË÷¼Ç¼±íÊý¾ÝºÍ±íË÷ÒýÎļþ¿ÉÒÔÒÀ´æÔÚ²»Í¬µÄλÖã¬ÉõÖÁÊDz»Í¬µÄÎļþϵͳÖС£¼´Ê¹ÊǾßÓÐÏ൱¶àµÄ²åÈë¡¢¸üкÍɾ³ý²Ù×÷µÄ±í£¬ÖÇÄÜ·ÀËéƬÂß¼­Ò²Äܱ£Ö¤Æä¸ß
ÐÔÄܵÄЭ×÷ÐÔ¡£
ISAM±íÀàÐÍ£º
ISAM±í(TYPE=ISAM)ºÍMyISAM±íÏàËÆ£¬µ«ÊÇÆäûÓÐMyISAM¸ñʽµÄºÜ¶àÔöÇ¿ÐÔÄÜ£¬Òò¶ø²»ÄÜÏñMyISAMÀàÐÍÄÇÑùÌṩºÜºÃµÄÓÅ»¯ºÍÖ´ÐÐЧÂÊ¡£ÒòΪISAMË÷Òý²»Äܱ»Ñ¹Ëõ
£¬Ëü±ÈÔÚMyISAMÖеÄÏàͬË÷Òýսʤ½ÏÉÙµÄϵͳ×ÊÔ´¡£ISAMË÷ÒýÐèÒª½Ï¶àµÄ´ÅÅÌ¿Õ¼ä
£¬Õâ¶ÔÓÚÏñ±¾Õ¾µÄÕâÖÖСÐÍ»·¾³ºÜÊÇÎÊÌâ¡£ºÇºÇ¡£
ºÍMyISAMÒ»Ñù£¬ISAM±í¿ÉÒÔÊǹ̶¨³¤¶ÈµÄ£¬Ò²¿ÉÒÔÊǿɱ䳤¶ÈµÄ£¬µ«ÊÇÆä¸ñʽµÄ×î´ó¼ü³¤¶È±È½ÏС£¬ISAM¸ñʽ´¦ÀíµÄ±í²»ÄÜ´óÓÚ4G£¬¶øÇÒ±í²»ÄÜÔÚ²»Í¬µÄƽ̨¼äÒÆÖ²
¡£ÁíÍ⣬ISAM±íÈÝÒ×·ÖÁÑ£¬Õâ»á½µµÍ²éѯËٶȣ¬¶ÔÊý¾Ý£¯Ë÷ÒýµÄѹËõ²úÉúÏÞÖÆ
¡£
HELP±íÀàÐÍ£º
HEAP±í(TYPE=HEAP)ÊÇÄÚ´æÖÐµÄ±í£¬ËüʹÓÃÄܹ»±È½Ï¿ìËÙµÄÉ¢ÁÐË÷Òý(µ±ÔËÐÐINSERT²éѯʱ£¬¶ÀÁ¢ÆÀ¼ÛÖ¸³öHEAP±í×îÉÙ±ÈMyISAM±í¿ì30£¥)£¬Òò´Ë£¬¶ÔÓÚÁÙʱ±í¿ÉÒÔÓÅ»¯¡£¾­ºÍMyISAM»òISAM±íµÄ·ÃÎʹæÔòºÍʹÓ÷½Ê½Ò»Ñù¡£´æ´¢ÔÚÀïÃæµÄÊý¾ÝÖ»ÔÚMySQL·þÎñÆ÷µÄÉúÃüÆÚÄÚ´æÔÚ
£¬Èç¹ûMySQL·þÎñÆ÷±ÀÀ£»òÕß±»¹Øµô£¬¶¼»áʹÆäÖеÄÊý¾ÝÏûʧ²»¼û¡£ËäÈ»HEAP±í¾ßÓÐÐÔÄÜ·½ÃæµÄºÃ´¦£¬µ«ÊÇÓÉÓÚËüµÄÁÙʱÐÔºÍһЩÆäËû¹¦ÄÜÏÞÖÆ£¬ÔÚʵ¼ÊÖв»¿ÉÄܾ­³£Ê¹Óá£
HEAP±íµÄ´óСֻÊܵ½ÏµÍ³ÉÏ¿ÉÓÃÄÚ´æµÄÏÞÖÆ£¬MySQLÊǺܴÏÃ÷µÄ£¬Æä¾ßÓÐÄÚ½¨±£»¤À´×èÖ¹ÎÞÒâʶµØʹÓÃËùÓпÉÓÃÄÚ´æ¡£ËùÒÔÎÒÃDz»Óõ£ÐÄÄÚ´æ»á±»HEAP±íÓþ¡¡£HEAP±í²»Ö§³ÖBLOB»òTEXTÁУ¬²»Äܳ¬¹ýmax_heap_table_size±äÁ¿Ö¸¶¨µÄ´óС¡£
BerkeleyDB±íÀàÐÍ£º
BerkeleyDB
±í(TYPE=BDB)ÊÇΪÁËÂú×ãMySQL¿ª·¢Õ߶ÔÊÂÎñ°²È«±íÈÕÒæÔö³¤µÄÐèÇó¶ø·¢Õ¹ÆðÀ´µÄ¡£BerkeleyDB±í¾ßÓкܶàÓÐȤµÄ¶ì£¬°üÀ¨Ìá½»ºÍ»Ø¹ö²Ù
×÷¡¢¶àÓû§²¢·¢·ÃÎÊ¡¢¼ì²éµã¡¢´ÎÒªË÷Òý¡¢Í¨¹ýÈÕÖ¾»Ö¸´±ÀÀ£¡¢Á¬ÐøµØºÍ¼ü¿ØµØ·ÃÎÊÊý¾ÝµÈ£¬Õâ±ãÀû¸´Ôӵġ¢»ùÓÚÊÂÎñµÄSQLÓÐÁË¿ÉÐеÄÑ¡Ôñ¡£
²»¹ýBerkeleyDB±íÒ²ÓÐһЩ


Ïà¹ØÎĵµ£º

mysql gui tools ʹÓÃ

¸Õ¿ªÊ¼²Ù×÷Êý¾Ý¿âʱÎÒÒ»°ãÊDz»Ê¹ÓÃʲôgui¹¤¾ßµÄ£¬ÎÒÊÇÖ±½ÓʹÓÃcmdϲÙ×÷µÄ£¬¸Ð¾õÓÃÆðÀ´Ò²Í¦²»´íµÄ¡£
×î½ü¿´µ½ÓÐgui¹¤¾ßÄÇÒ²²»´í°¡£¬¾ÍÏÂÀ´Ê¹ÓÃһϣ¬ÎÒϲ»¶ÏµÄÊÇѹËõ°üÃâ°²×°µÄ£¬ÕâÑù¸Ð¾õ±È½ÏÊæ·þ°¡
´ò¿ª²éѯ¹¤¾ßÊǾ¹È»³ö´íÁË£¬²»¹ýÄÜÕý³£Ê¹Óõģ¬µ±Ê±Ò²Ã»ÓÐ×¢Ò⣬½ñÌìÌØÒâµÄ¿´ÁËÒ»ÏÂ
Ó¦¸ÃÊÇmysqlqb_functions.xml¼ÓÔØ ......

×Ô¼ºÈçºÎÕýÈ·»ñÈ¡MYSQLµÄADOÁ¬½Ó×Ö·û´®

ÔÚ×ÀÃæÉÏн¨Ò»¸ö¿ÕµÄÎı¾Îļþmysql.txt,ÖØÃüÃûΪmysql.udl,Ë«»÷Õâ¸ömysql.udlÎļþ£¬´ò¿ª“Êý¾Ý¿âÁ¬½ÓÊôÐÔ”¶Ô»°¿ò£¬ÔÚ“Ìṩ³ÌÐò”ҳѡÔñ”Micrsoft Ole DB Provider for ODBC Drivers“£¬ µã»÷ÏÂÒ»²½£¬ÔÚ“Á¬½Ó”Ò³µÄ,"Ö¸¶¨Êý¾ÝÔ´"Ñ¡Ôñ"ʹÓÃÁ¬½Ó×Ö·û´®",µã» ......

MySQL 6.0Ãâ°²×°ÅäÖÃ

1.ÏÂÔØ MySQL 6.0Ãâ°²×°°æ
http://dev.mysql.com/get/Downloads/MySQL-6.0/mysql-noinstall-6.0.9-alpha-win32.zip/from/pick#mirrors
2.½« MySQL6.0 ½âѹµ½´ý°²×°Ä¿Â¼(×Ô¼º¾ö¶¨·Åµ½ÄÄ£©¡£½âѹºóĬÈÏÎļþ¼ÐÃû³ÆΪ£ºmysql-6.0.9-alpha-win32£¨µ±È»¿ÉÒÔ×Ô¼º¸ü¸Ä£©£¬È»ºóÔÚ»·¾³±äÁ¿ÖÐÉèÖÃMYSQL_HOME£¨ÕâÑù£¬ÒÔºó¿ÉÒÔÓÃ%MYSQL ......

Mysql Error #2002: Can't connect to local

ÔÚSentOS 5ÖУº
>>yum install mysql
°²×°Íê±Ïºó£¬
>>mysql
error:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'(2)";
½ñÌì·þÎñÆ÷Óöµ½ÁËÒ»¸öºÜÊìϤµÄÎÊÌâ
ÊäÈë
#mysql -u root -p
 
ERROR 2002 (HY000):Can't connect to local MySQL server
 
  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ