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

Îå¸ö³£ÓÃMySQLͼÐλ¯¹ÜÀí¹¤¾ß


MySQL
ÊÇÒ»¸ö·Ç³£Á÷ÐеÄСÐ͹ØϵÐÍÊý¾Ý¿â¹ÜÀíϵͳ£¬2008Äê1ÔÂ16ºÅ±»Sun¹«Ë¾ÊÕ¹º¡£Ä¿Ç°MySQL±»¹ã·ºµØÓ¦ÓÃÔÚInternetÉϵÄÖÐСÐÍÍøÕ¾ÖС£ÓÉ
ÓÚÆäÌå»ýС¡¢Ëٶȿ졢×ÜÌåÓµÓгɱ¾µÍ£¬ÓÈÆäÊÇ¿ª·ÅÔ´ÂëÕâÒ»Ìص㣬Ðí¶àÖÐСÐÍÍøվΪÁ˽µµÍÍøÕ¾×ÜÌåÓµÓгɱ¾¶øÑ¡ÔñÁËMySQL×÷ΪÍøÕ¾Êý¾Ý¿â¡£
1¡¢phpMyAdmin£¨http://www.phpmyadmin.net/£©
 
phpMyAdminÊÇ×î³£ÓõÄMySQLά»¤¹¤¾ß£¬ÊÇÒ»¸öÓÃPHP¿ª·¢µÄ»ùÓÚWeb·½Ê½¼Ü¹¹ÔÚÍøÕ¾Ö÷»úÉϵÄMySQL¹ÜÀí¹¤¾ß£¬Ö§³ÖÖÐÎÄ£¬¹ÜÀíÊý¾Ý¿â·Ç³£·½±ã¡£²»×ãÖ®´¦ÔÚÓÚ¶Ô´óÊý¾Ý¿âµÄ±¸·ÝºÍ»Ö¸´²»·½±ã¡£
2¡¢MySQLDumper£¨http://www.mysqldumper.de/en/£©
 
MySQLDumperʹÓÃPHP¿ª·¢µÄMySQLÊý¾Ý¿â±¸·Ý»Ö¸´³ÌÐò£¬½â¾öÁËʹÓÃPHP½øÐдóÊý¾Ý¿â±¸·ÝºÍ»Ö¸´µÄÎÊÌ⣬Êý°ÙÕ×µÄÊý¾Ý¿â¶¼¿ÉÒÔ·½±ãµÄ±¸·Ý»Ö¸´£¬²»Óõ£ÐÄÍøËÙÌ«Âýµ¼ÖÂÖмäÖжϵÄÎÊÌ⣬·Ç³£·½±ãÒ×Óá£Õâ¸öÈí¼þÊǵ¹úÈË¿ª·¢µÄ£¬»¹Ã»ÓÐÖÐÎÄÓïÑÔ°ü¡£
3¡¢Navicat£¨http://www.navicat.com/£©
 
NavicatÊÇÒ»¸ö×ÀÃæ°æMySQLÊý¾Ý¿â¹ÜÀíºÍ¿ª·¢¹¤¾ß¡£ºÍ΢ÈíSQLServerµÄ¹ÜÀíÆ÷ºÜÏñ£¬Ò×ѧÒ×Óá£NavicatʹÓÃͼÐλ¯µÄÓû§½çÃ棬¿ÉÒÔÈÃÓû§Ê¹Óú͹ÜÀí¸üΪÇáËÉ¡£Ö§³ÖÖÐÎÄ£¬ÓÐÃâ·Ñ°æ±¾Ìṩ¡£
4¡¢MySQL GUI Tools£¨http://dev.mysql.com/downloads/gui-tools/£©
 
MySQL GUI ToolsÊÇMySQL¹Ù·½ÌṩµÄͼÐλ¯¹ÜÀí¹¤¾ß£¬¹¦ÄܺÜÇ¿´ó£¬ÖµµÃÍƼö£¬¿ÉϧµÄÊÇûÓÐÖÐÎĽçÃæ¡£
5¡¢MySQL ODBC Connector£¨http://dev.mysql.com/downloads/connector/odbc/£©
 
MySQL¹Ù·½ÌṩµÄODBC½Ó¿Ú³ÌÐò£¬ÏµÍ³°²×°ÁËÕâ¸ö³ÌÐòÖ®ºó£¬¾Í¿ÉÒÔͨ¹ýODBCÀ´·ÃÎÊMySQL£¬ÕâÑù¾Í¿ÉÒÔʵÏÖSQLServer¡¢AccessºÍMySQLÖ®¼äµÄÊý¾Ýת»»£¬»¹¿ÉÒÔÖ§³ÖASP·ÃÎÊMySQLÊý¾Ý¿â¡£


Ïà¹ØÎĵµ£º

Mysql µ¼³ösqlÎļþ

Ò».MYSQLµÄÃüÁîÐÐģʽµÄÉèÖãº
×ÀÃæ->ÎҵĵçÄÔ->ÊôÐÔ->»·¾³±äÁ¿->н¨->
PATH=“£»path\mysql\bin;”ÆäÖÐpathΪMYSQLµÄ°²×°Â·¾¶¡£
¶þ.¼òµ¥µÄ½éÉÜÒ»ÏÂÃüÁîÐнøÈëMYSQLµÄ·½·¨£º
1.C:\>mysql -h hostname -u username -p
°´ENTER¼ü£¬µÈ´ýÈ»ºóÊäÈëÃÜÂë¡£ÕâÀïhostnameΪ·þÎñÆ÷µÄÃû³Æ£¬Èçlocalh ......

ͬ²½Æô¶¯Ñ¡Ïî(mysql ͬ²½)

²»¹ÜÊÇmaster»¹ÊÇslave£¬¶¼ÒªÉ趨 server-id Ñ¡ÏîÀ´È·¶¨Ê¹ËüÃǶ¼Óи÷×ÔΨһµÄͬ²½ID¡£±ØÐëÑ¡Ôñ 1 µ½ 2^32-1 Ö®¼äµÄÕýÕûÊý¡£ÀýÈ磺 server-id=3¡£
¹ØÓÚmaster·þÎñÆ÷ÉÏ¿ÉÓÃÓÚ¿ØÖƶþ½øÖÆÈÕÖ¾¼Ç¼µÄÑ¡ÏîÏêϸÃèÊöÇë¿´"5.9.4 The Binary Log"¡£
ϱíÃèÊöÁËslaveͬ²½¿ÉÓõÄÑ¡Ï¿ÉÒÔÔÚÃüÁîÐлòÕßÅäÖÃÎļþÖÐÉ趨ËüÃÇ¡£
һЩslav ......

mysql Ö÷´ÓÐĵÃ


grant replication slave on *.* to 'guest'@'192.168.1.%' identified by '123456'
change master to master_host='192.168.1.190',master_user='guest',master_password='123456',master_port=3306
mysql> change master to master_host='192.168.1.190',master_user='guest',master_password='123456',master_log ......

MySQLÎå¸ö²éѯÓÅ»¯·½·¨


MySQLÎå¸ö²éѯÓÅ»¯·½·¨

ÊìϤSQLµÄÈ˶¼ÖªµÀ£¬Íê³Éͬһ¸öÈÎÎñ£¬SQL¿ÉÄÜÓжàÖÖд·¨£¬µ«²»Í¬Ð´·¨µÄ²éѯ
ÐÔÄÜ¿ÉÄÜ»áÓÐÌìÈÀÖ®±ð£¬±¾ÎÄÁоٳöÎå¸ö²éѯÓÅ»¯µÄ·½·¨
£¬µ±È»£¬ÓÅ»¯µÄ·½·¨»¹Óкܶࡣ¡¡¡¡
1¡¢ÓÅ»¯Êý¾ÝÀàÐÍ
MySQL
ÖÐÊý¾ÝÀàÐÍÓжàÖÖ£¬Èç¹ûÄãÊÇÒ»ÃûDBA£¬ÕýÔÚ°´ÕÕÓÅ»¯µÄÔ­Ôò¶ÔÊý¾ÝÀàÐͽøÐÐÑϸñµÄ¼ì²é£¬µ«¿ª·¢
ÈËÔ ......

ÓÅ»¯MySQL²åÈë·½·¨µÄÎå¸öÃîÕÐ


ÒÔÏÂÊÇÉæ¼°µ½²åÈë±í¸ñµÄ²éѯµÄ5ÖָĽø·½·¨£º
1)ʹÓÃLOAD DATA INFILE´ÓÎı¾ÏÂÔØÊý¾ÝÕ⽫±ÈʹÓòåÈëÓï¾ä¿ì20±¶¡£
2)ʹÓôøÓжà¸öVALUESÁбíµÄINSERTÓï¾äÒ»´Î²åÈ뼸ÐÐÕ⽫±ÈʹÓÃÒ»¸öµ¥ÐвåÈëÓï¾ä¿ì¼¸±¶¡£µ÷Õûbulk_insert_buffer_size±äÁ¿Ò²ÄÜÌá¸ß£¨Ïò°üº¬Ðеıí¸ñÖУ©²åÈëµÄËٶȡ£
3)¿ÉÒÔ¶Ômyisam±í²¢ÐвåÈëConcurrent_i ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ