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

Mysql¼¯ÈºÅäÖÃÎĵµ

¹ÜÀí½Úµã:192.168.50.211 Êý¾Ý½Úµã: 192.168.50.214 Êý¾Ý½Úµã: 192.168.50.215 SQL½Úµã: 192.168.50.212 SQL½Úµã: 192.168.50.213 ²Ù×÷ϵͳ:Red Hat Enterprise Linux AS release 5 ------------------------------------------°²×°Ç°±Ø¶Á---------------------------------------- µ±Ç°ÎĵµµÄ°æ±¾Îªmysql-cluster-7.0.9£¬I386/X_64°æ±¾¶¼°²×°³É¹¦¡£×°ndbÇ°£¬ÏÈɾ³ýÔ­ÏÈϵͳ×Ô´ømysql£¬Ê¹ÓÃÃüÁîyum remove ¡°*mysql*¡±,±ØÐë×¢ÒâµÄÊÇÊý¾Ý½Úµã±ØÐë´óÓÚµÈÓÚ2£¬·ñÕß½«»á°²×°Ê§°Ü¡£¸÷¸ö½ÚµãµÄ°²×°Ë³Ðò¡°¹ÜÀí½Úµã—Êý¾Ý½Úµã—SQL½Úµã¡°£¬Ö»ÓмܺÃ2̨¼°Æä2̨ÒÔÉÏÊý¾Ý¼¸µã£¬²ÅÄÜ¿ªÊ¼¼ÜÉèSQL½Úµã¡£ ¸÷¸ö½Úµã½á¹¹£º ¹ÜÀí½Úµã£º½«°²×°°übinĿ¼ÏµÄËùÓÐÒÔndb¿ªÍ·µÄ¶þ½øÖÆÎļþ¿½±´µ½/usr/local/binÖУ¬²¢ÇÒÅäÖÃconfig.iniÒÔ¼°my.cnf Ŀ¼½á¹¹£º /usr/local/mysql-cluster/config.ini --------¹ÜÀí½ÚµãÅäÖÃÎļþ /etc/my.cnf --------mysqlÅäÖÃÎļþ /usr/local/bin/ndb* --------¹ÜÀí½ÚµãÏà¹Ø¶þ½øÖÆÎļþ Æô¶¯ÃüÁÂÔ ¿ª·Å¶Ë¿Ú£º1186 Êý¾Ý½Úµã£ºÊý¾ÝÕæÕý´æ·ÅλÖ㬽«Õâ¸ötar°ü½âѹµ½/usr/local/mysqlÖУ¬ÅäÖÃmy.cnf£¬ÐèÒª³õʼ»¯Êý¾Ý¿â£¬ÎÞÐè´ò¿ª3306¶Ë¿Ú£¬×îºóÖ»ÐèÒªÔËÐÐ/usr/local/mysql/bin/ndbd¼´¿É Ŀ¼½á¹¹ /usr/local/mysql/ --------mysqlĿ¼ /etc/my.cnf --------mysqlÅäÖÃÎļþ /opt/mydata/ --------Êý¾Ý¿âĿ¼ Æô¶¯ÃüÁ/usr/local/mysql/bin/ndbd ¿ª·Å¶Ë¿Ú£º63132 SQL½Úµã£º½«Õâ¸ötar°ü½âѹµ½/usr/local/mysqlÖУ¬ÅäÖÃmy.cnf£¬ÐèÒª³õʼ»¯Êý¾Ý¿â£¬²¢ÇÒ×îºóʹÓÃÃüÁîservice mysqld start´ò¿ª3306¶Ë¿Ú Ŀ¼½á¹¹£º /usr/local/mysql/ --------mysqlĿ¼ /etc/my.cnf --------mysqlÅäÖÃÎļþ /opt/mydata/ --------Êý¾Ý¿âĿ¼ Æô¶¯ÃüÁservice mysqld start ¿ª·Å¶Ë¿Ú£º3306 Æô¶¯²½Ö裺Æô¶¯¹ÜÀí½Úµã---Æô¶¯ËùÓÐÊý¾Ý½Úµã----Æô¶¯ËùÓÐmysqld½Úµã --------------------------------------»ªÀöµÄ½áÊø------------------------------------------- ¹ÜÀí½Úµã°²×° 1. ¼ì²éÊÇϵͳÊÇ·ñ°²×°¹ýmysql, Èç¹ûÓа²×°£¬ÐèҪɾ³ý°²×°Ä¿Â¼µÄÎļþ£®Í¨¹ýps afx |grep mysql ²é¿´µ½mysqlµÄÅäÖÃÎļþ£¬Êý¾Ý¿âĿ¼£¬pid,port,socket µÈÐÅÏ¢£¬Òª½«ÕâЩÐÅϢȫ²¿Çå³ý£®Ò»°ã¶øÑÔ£¬É¾³ý /usr/local/mysql* /var/lib/mysql*¾Í¿ÉÒÔ # service mysql.server stop #rm -rf /usr/local/mysql* /var/lib/mysql* 2. ¼ì²émysql×éºÍÓû§,Èç¹ûûÓÐÓÃ


Ïà¹ØÎĵµ£º

MYSQL 8Сʱ¶Ï¿ªÁ´½ÓÎÊÌâºÍ½â¾ö°ì·¨

MYSQL 8Сʱ ¶Ï¿ªÁ´½ÓÎÊÌâ
½â¾ö°ì·¨ÓÐÁ½¸ö£ºµÚÒ»ÊÇÉèÖÃautoReconnectÊôÐÔÉèÖÃΪtrue£»µÚ¶þÊÇÉèÖÃDBCP ʱ½«testqueryµÈ¼¸¸öÊôÐÔÒ»²¢ÉèÖá£
ÎÊÌâµÄÔ­ÒòÊÇ£¬MySQLµÄ²ÎÊýinteractive_timeout£¬Ò²¾ÍÊǽ»»¥³¬Ê±Ê±¼äĬÈÏΪ8Сʱ¡£Ò²¾ÍÊÇÈç¹ûÒ»¸öÁ´½ÓÔÚ8Сʱºó£¬»¹Ã»ÓкͷþÎñÆ÷½»»¥£¬Õâ¸öÁ¬½Ó¾Í»á±»MySQL·þÎñÆ÷¶Ï¿ª¡£ÒòΪMySQLÄÜ ......

Ôõô°Ñpowerdesignerµ¼³öµÄsqlÓÃPHPµ¼ÈëMysQLÊý¾Ý¿â

ÎÒÃÇÖªµÀÓÃpowerdesignerµ¼³öµÄsqlÎļþºó׺Ϊ'.sql'£»ÓÃphpmyadminºÜÈÝÒ×µ¼ÈëMysQLÊý¾Ý¿â£¬µ«ÊÇÓÃPHPÔõôµ¼ÈëÊý¾Ý¿âÄØ?
ÎÒÓÃpowerdesignerÉè¼ÆÒ»¸öÊý¾Ý¿âºóµ¼³ösqlÎļþ£¨Ò»¸öͶƱϵͳ£©Îª'vote.sql'£»
ÎļþÄÚÈÝΪ£¨Ò»Ð©sqlÓï¾äºÍ×¢ÊÍ£©£º
        
/*======================= ......

PHPÁ¬½ÓMYSQLÊý¾Ý¿â

<p>04¼¶ÐÂÉúÃûµ¥</p>
<table border="1" width="80%" cellpadding="0">
<tr>
<td width="10%" align="center">Id</td>
<td width="20%" align="center">Name</td>
<td width="10%" align="center">Age</td>
<td width="10%" align="cent ......

mysql ±¸·ÝºÍ»Ö¸´²ßÂÔ

mysql ±¸·ÝºÍ»Ö¸´²ßÂÔ
ÎÄÕ·ÖÀà:Êý¾Ý¿â
ÔÚÊý¾Ý¿â±í¶ªÊ§»òË𻵵ÄÇé¿öÏ£¬±¸·ÝÄãµÄÊý¾Ý¿âÊǺÜÖØÒªµÄ¡£Èç¹û·¢Éúϵͳ±ÀÀ££¬Äã¿Ï¶¨ÏëÄܹ»½«ÄãµÄ±í¾¡¿ÉÄܶªÊ§×îÉÙµÄÊý¾Ý»Ö¸´µ½±ÀÀ£·¢ÉúʱµÄ״̬¡£±¾ÎÄÖ÷Òª¶ÔMyISAM±í×ö±¸·Ý»Ö¸´¡£
 
±¸·Ý²ßÂÔÒ»£ºÖ±½Ó¿½±´Êý¾Ý¿âÎļþ£¨²»ÍƼö£©
±¸·Ý²ßÂÔ¶þ£ºÊ¹ÓÃmysqlhotcopy±¸·ÝÊý¾Ý¿â£ ......

mysql dataÎļþ¼ÐϵÄibdata1 Îļþ×÷ÓÃ


Õâ¸öÎļþ³¬¼¶´ó£¬ ²éÁËһϣ¬ ´ó¸ÅµÄ×÷ÓÃÈçÏÂ
ÊÇ´¢´æµÄ¸ñʽ
INNODBÀàÐÍÊý¾Ý״̬Ï£¬
ibdataÓÃÀ´´¢´æÎļþµÄÊý¾Ý
¶ø¿âÃûµÄÎļþ¼ÐÀïÃæµÄÄÇЩ±íÎļþÖ»Êǽṹ¶øÒÑ
ÓÉÓÚmysql4.1ĬÈÏÊÔinnodb£¬ËùÒÔÕâ¸öÎļþĬÈϾʹæÔÚÁËhttp://man.chinaunix.net/database/mysql/inonodb_zh/2.htm Õâ¸öÁ´½ÓÊÔinnodbµÄÖÐÎIJο¼£¬ innodbµÄ¶« ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ