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

×ÊÔ´ÍƼö Îå¸ö³£ÓÃMySQLͼÐλ¯¹ÜÀí¹¤¾ß

  À´Ô´:Ô¹ⲩ¿Í   ºËÐÄÌáʾ£ºMySQLµÄ¹ÜÀíά»¤¹¤¾ß·Ç³£¶à£¬³ýÁËϵͳ×Ô´øµÄÃüÁîÐйÜÀí¹¤¾ßÖ®Í⣬»¹ÓÐÐí¶àÆäËûµÄͼÐλ¯¹ÜÀí¹¤¾ß£¬ÕâÀïÎÒ½éÉÜÎå¸öÎÒ¾­³£Ê¹ÓõÄ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ά»¤¹ÜÀí¹¤¾ß£¬Èç¹ûÄãÖªµÀ¸üºÃµÄMySQL¹¤¾ß£¬ÇëÁôÑÔºÍÎÒÃÇ·ÖÏí¡£


Ïà¹ØÎĵµ£º

mysql ÖÐµÄ autocommit ±äÁ¿

mysql> show variables like "autocommit";
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| autocommit | ON |
+---------------+-------+
1 row in set (0.00 sec)
mysql>
ÉèÖÃÍêÖ®ºó¿´¿´¸ÃÖµ
ÄãÒª¿ªÆôÒ»¸öÊÂÎñ£¬Ö±½Ó·¢ËÍbegin ¡£¡£¡£¡£commit¾Í¿ÉÒÔ£¬ºÎ±ØҪȥ ......

gcc ±àÒë¶àÏß³ÌÎļþºÍº¬MySqlÊý¾Ý¿â²Ù×÷Îļþ

gcc Ç¿´óµÄ±àÒëÆ÷¾Í²»×÷½éÉÜÁË
linuxÏÂÓÃgccÃüÁî±àÒë¶àÏß³ÌC³ÌÐòÎļþºÍº¬ÓÐMySqlÊý¾Ý¿â²Ù×÷Îļþ
1.±àÒë¶àÏß³ÌÎļþ
gcc -o mylti_thread.o multi_thread.c -lpthread
ÆäÖеÄmulti_thread.c±íʾԴÎļþ£¬mylti_thread.o±íʾ±àÒë²úÉúµÄÄ¿±êÎļþ£¬-lpthread±íʾÒýÈë¶àÏ߳̿⣬ÔÚ¡¶Using the GNU Compiler Collection¡·gcc 4. ......

³õ̽MYSQL¡£ÔÚÎÒÓÐЧµØÐÄÖÐÁôÏÂÒ»µÀÒõÓ°¡­¡­

ΪʲôÕâô˵ÄØ¡£ÒòΪ°¡ÎÒдÎÒ¹«Ë¾µÄ²éPVµÄÊý¾Ýʱ£¬·¢ÏÖ±íµÄ¹¦Äܲ»ÊǺÜÈ«£¬ÈÃÎÒÓÃÒ»¾ä»°Ð´³öÄÇôÀÏÅ£µÄSQLÓï¾äÕæµÄºÃÄÑ¡£
Õæô×Å°É£¬ÎÒд³öÎÒÕâ¾ä»°À´¿´Ò»¿´¡£
<?php
//########################2010-1-24 22£º48
//#######################Êý¾Ý¿â²éѯ
//######################±¾³ÌÐò¹²ÓÐ3¸ösql·Ö±ðΪsql,sql5,sql ......

mysql½ûÖ¹Ô¶³ÌrootµÇ½ (ת)

½â¾ö·½·¨£º
1¡£ ¸Ä±í·¨¡£¿ÉÄÜÊÇÄãµÄÕʺŲ»ÔÊÐí´ÓÔ¶³ÌµÇ½£¬Ö»ÄÜÔÚlocalhost¡£Õâ¸öʱºòÖ»ÒªÔÚlocalhostµÄÄÇ̨µçÄÔ£¬µÇÈëmysqlºó£¬¸ü¸Ä "mysql" Êý¾Ý¿âÀïµÄ "user" ±íÀïµÄ "host" Ï´Ó"localhost"¸Ä³Æ"%"
mysql -u root -pvmwaremysql>use mysql;
mysql>update ......

InnoDB»¹ÊÇMyISAM ÔÙ̸MySQL´æ´¢ÒýÇæµÄÑ¡Ôñ

Á½ÖÖÀàÐÍ×îÖ÷ÒªµÄ²î±ð¾ÍÊÇInnodb Ö§³ÖÊÂÎñ´¦ÀíÓëÍâ¼üºÍÐм¶Ëø.¶øMyISAM²»Ö§³Ö.ËùÒÔMyISAMÍùÍù¾ÍÈÝÒ×±»ÈËÈÏΪֻÊʺÏÔÚСÏîÄ¿ÖÐʹÓá£
ÎÒ×÷ΪʹÓÃMySQLµÄÓû§½Ç¶È³ö·¢£¬InnodbºÍMyISAM¶¼ÊDZȽÏϲ»¶µÄ£¬µ«ÊÇ´ÓÎÒÄ¿Ç°ÔËάµÄÊý¾Ý¿âƽ̨Ҫ´ïµ½ÐèÇó£º99.9%µÄÎȶ¨ÐÔ£¬·½±ãµÄÀ©Õ¹ÐԺ͸߿ÉÓÃÐÔÀ´ËµµÄ»°£¬MyISAM¾ø¶ÔÊÇÎÒµÄÊ×Ñ¡¡£
Ô­Ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ