ʹÓÃxamppÎÞ·¨Æô¶¯apacheºÍmysqlµÄ½â¾ö·½·¨
±¾µØ°²×°WordPressʹÓÃxamppÎÞ·¨Æô¶¯apacheºÍmysqlµÄ½â¾ö·½·¨
½ñÌ쿪ʼװ±¾µØ²âÊÔÓõÄWordPress£¬Ñ¡Ôñxampp¼¯³É°ü¡£¿ÉÊÇ°²×°¾Í³öÎÊÌâÁË¡£
apacheºÍMySQLÀÏ°²×°Ê§°Ü£¬ºÜÊǾÀ½á···
°Ù¶ÈGoogleÁËÒ»ÍíÉÏÖÕÓÚµ·¹ÄºÃÁË¡£
ÏÂÃæÀ´ËµËµÎÒÊÇÔõô½â¾öµÄ£¬ºÍÌùÒ»·Ý¹ØÓÚÕâ¸öÎÊÌâµÄһƪÎÄÕ¡£
Ê×ÏÈ°²×°Ä¿Â¼²»¿ÉÒÔÓÃÖÐÎÄ£¬¿ªÊ¼ÎÒ¾ÍÊÇÓÃÖÐÎÄ£¬×ÜÊÇ°²×°²»ÉÏapache£¬×îºóʹÓÃÓ¢ÎÄ×Öĸ¡£OK˳Àûͨ¹ý°²×°Apache£¨µ«ÎÊÌâÓÖÀ´ÁË£¬¾ÓÈ»Éϲ»ÁËÍøÁË£¬Æ¾×żÇÒ䣬ÎҰɶ˿ڸÄÁË£¬¶÷£¬Ã²ËÆÎÒ»¹´ÏÃ÷×Å£¬ApacheºÍÉÏÍøÒ»ÇÐÕý³£O(∩_∩)O~£©
ÔÙ˵mysqlµÄ°²×°£¬¿ªÊ¼Ò²Ò»Ö±°²×°²»ÉÏ¡£×îºóʹÓÃժ¼µÄÎÄÕÂÀïµÄ·½·¨£¬ÍêÈ«Õý³£³É¹¦Æô¶¯MySQL¡£¾ÍÊÇ£ºÔËÐÐxampp\mysql Ŀ¼Ï嵀 mysql_installservice.bat µ¯³ödos´°¿Úºó°´ÈÎÒâ¼ü¹Ø±Õ£¬È»ºóÔËÐÐÏàͬĿ¼Ï嵀 mysql_uninstallservice.bat ¼´¿É£¬ÔÚXAMPPµÄ¿ØÖÆ°æÃæ¿ÉÒԳɹ¦Æô¶¯ MySql¡£²»ÖªµÀΪʲô£¬ÄѵÀÊǼ¯³É°üµÄ×÷ÕßÎļþÃûÆð·´ÁË£¿£¿£¿
ºÃÁË£¬ÎÒÒ²¸ÃºÃºÃ˯¸öºÃ¾õÁË¡£ËµÕâЩҲ²»ÖªµÀÓÐÈËÖªµÀÎÒÔÚ˵ʲôÂð¡£
ºÇºÇ£¬»¹ÊÇÌùÕŽ̳̣¬·½±ã´ó¼Ò½â¾ö°É¡£Ôç°²···
תÔØÖÁÍøÂ磬Դ´×÷Õß²»Ïê¡£
xampp£¨apache+mysql+php+perl£©ÊÇÒ»¸ö¹¦ÄÜÇ¿´óµÄphpÍøÕ¾¿ª·¢¼¯³ÉÈí¼þ°ü¡£Ó¦ÓÃxampp¿ÉÒÔÇáËɵØÔÚ¸÷ÖÖϵͳÏ´phpµÈ³ÌÐòµÄÔËÐл·
¾³¡£
½ñÌìÍ·Ò»´Î´î½¨xampp·¢ÏÖÒ»¸öÎÊÌ⣬apacheÆô¶¯²»ÁË£¬²»ÂÛµã»÷¶àÉÙ´Îstart£¬¶¼ÏÔʾÈçÏ£º
busy…
apache started [port 80]
ÎÒµÄxpϵͳĬÈÏ°²×°ÁËiis(ÎÒÒªÓÃÀ´½øÐÐasp¿ª·¢)£¬ÏÔÈ»ÊÇÒòΪ80¶Ë¿Ú±»Õ¼ÓÃÁË£¬ËùÒÔÕâ¸ö¶Ë¿ÚºÜbusy£¬´Ó¶øµ¼ÖÂapacheÎÞ·¨Æô¶¯µÄ¡£½â¾ö·½·¨ÎÒgoogleÁËһϣ¬ËµÁ˺ܶàºÜ¶àÖÖ…¡£why?xamppͨ³£¾ÍÊÇÓÃÀ´php¿ª·¢Ñ¸Ëٴphp+mySQL+apache»·¾³µÄ£¬Êµ¼Ê·þÎñÆ÷»·¾³Ó¦ÓÃÖÁÉÙÎÒÊÇ»áÒ»Ò»´î½¨µÄ¡£¼ÈÈ»ÊÇ¿ª·¢»·¾³Äã¾ÍºÃ°ìÁË£¬ÎÒµÄaspÓõÄiis·þÎñÆ÷ÊÇxpµÄĬÈÏweb80¶Ë¿Ú£¬jspÓõÄtomcat·þÎñÆ÷ÓõÄÊÇtomcat°²×°Ê±µÄĬÈ϶˿Ú8080£¬ÄÇôphpÏÂxamppÀï±ßµÄapacheÎҾͽ«ËüµÄĬÈÏ80¶Ë¿ÚÐÞ¸ÄΪ8081(Ëæ±ãÆäËüµÄÖ»Òª²»±»Õ¼ÓþͿÉÒÔÁË)ÆäËüµÄ²»¾ÍokÁË (˵µÀÕâÀïÏëÆðÀ´Ë²»ÊÇÓп´µÄÈË»¹²»Àí½âʲôÊÇwebĬÈ϶˿ڣ¬²»¶®µÄ»°¾Í¿´¿´tcp/ip£¬ÄãµÄ»ù´¡ÖªÊ¶²»¶®µÃµÄ¾ÍÊÇɳµØ½¨Â¥£¬ÓÀÔ¶²»»á¸ßµÄÁË)¡£
¼ÈÈ»Èç´ËÈçºÎÐÞ¸ÄapacheµÄ¶Ë¿ÚÄØ£¿
µ½xamppµÄ°²×°Ä¿Â¼Ï£¬µã»÷½øÈëapache\confÏ£¬¿ÉÒÔ¿´µ½“httpd.conf”Îļþ£¬ÓÃÎı¾±à¼Æ÷´ò¿ª£¬½«ËùÓеÄ80ÐÞ¸ÄΪ8
Ïà¹ØÎĵµ£º
ΪʲôÕâô˵ÄØ¡£ÒòΪ°¡ÎÒдÎÒ¹«Ë¾µÄ²éPVµÄÊý¾Ýʱ£¬·¢ÏÖ±íµÄ¹¦Äܲ»ÊǺÜÈ«£¬ÈÃÎÒÓÃÒ»¾ä»°Ð´³öÄÇôÀÏÅ£µÄSQLÓï¾äÕæµÄºÃÄÑ¡£
Õæô×Å°É£¬ÎÒд³öÎÒÕâ¾ä»°À´¿´Ò»¿´¡£
<?php
//########################2010-1-24 22£º48
//#######################Êý¾Ý¿â²éѯ
//######################±¾³ÌÐò¹²ÓÐ3¸ösql·Ö±ðΪsql,sql5,sql ......
LOAD DATA INFILE
ÕâÊÇÎÒÃÇÒª½éÉܵÄ×îºóÒ»¸öµ¼ÈëÊý¾Ýµ½MySQLÊý¾Ý¿âÖеķ½·¨¡£Õâ¸öÃüÁîÓëmysqlimport·Ç³£ÏàËÆ£¬µ«Õâ¸ö·½·¨¿ÉÒÔÔÚmysqlÃüÁîÐÐÖÐʹÓá£Ò²¾ÍÊÇ˵Äú¿ÉÒÔÔÚËùÓÐʹÓÃAPIµÄ³ÌÐòÖÐʹÓÃÕâ¸öÃüÁʹÓÃÕâÖÖ·½·¨£¬Äú¾Í¿ÉÒÔÔÚÓ¦ÓóÌÐòÖе¼ÈëÄúÏëÒªµ¼ÈëµÄÊý¾Ý¡£ ʹÓÃÕâ¸öÃüÁî֮ǰ£¬mysqld½ø³Ì£¨·þÎñ£©±ØÐëÒѾÔÚÔËÐ ......
ÔÎÄÁ´½Ó http://database.51cto.com/art/200904/117957.htm
ÒÔÏÂÊÇÉæ¼°µ½²åÈë±í¸ñµÄ²éѯµÄ5ÖָĽø·½·¨£º
1)ʹÓÃLOAD DATA INFILE´ÓÎı¾ÏÂÔØÊý¾ÝÕ⽫±ÈʹÓòåÈëÓï¾ä¿ì20±¶¡£
2)ʹÓôøÓжà¸öVALUESÁбíµÄINSERTÓï¾äÒ»´Î²åÈ뼸ÐÐÕ⽫±ÈʹÓÃÒ»¸öµ¥ÐвåÈëÓï¾ä¿ì¼¸±¶¡£µ÷Õûbulk_insert_buffer_size±äÁ¿Ò²ÄÜÌá¸ß£¨Ïò°üº¬Ðеıí ......
°²×°·þÎñÆ÷¶Ë£ºÏÂÔØÒ»¸ömysqlµÄ°²×°³ÌÐò£¬ÎÒ°²×°µÄÊÇ5.0°æ±¾µÄ£¬°´ÕÕÌáʾһ²½²½²Ù×÷Íê³É¡£Ã»ÓÐʲôÌرð˵Ã÷µÄ¡£
°²×°¿Í»§¶Ë£ºÏÂÔØÒ»¸ömysql-query-browser£¬ÎÒÓõÄÊÇ1.1°æ±¾µÄ£¬°²×°£¬°´ÕÕÌáʾ²Ù×÷¡£
¶¼°²×°Íê³ÉÒÔºó£¬ÔÚ±¾»úÓÃbrowser²âÊÔÒ»ÏÂÊÇ·ñÄÜÁ¬µÄÉϱ¾»úµÄ·þÎñ£¬Á¬½Ó³É¹¦£¬¶¼°²×°OK.
Èç¹ûÄãÏëÈÃÆäËûµÄ¿ª·¢ÈËÔ±Ò»Æð ......
Õª×Ôhttp://blog.csdn.net/ljah/archive/2006/11/08/1373959.aspx
¸ñʽ£º
CREATE PROCEDURE ¹ý³ÌÃû ([¹ý³Ì²ÎÊý[,...]])
[ÌØÐÔ ...] ¹ý³ÌÌå
CREATE FUNCTION º¯ÊýÃû ([º¯Êý²ÎÊý[,...]])
RETURNS ·µ»ØÀàÐÍ
[ÌØÐÔ ...] º¯ÊýÌå
¹ý³Ì²ÎÊý:
[ IN | OUT | INOUT ] ²ÎÊýÃû ²ÎÊýÀàÐÍ
º¯Êý²ÎÊý:
²ÎÊýÃû ²ÎÊýÀàÐÍ
·µ»ØÀàÐÍ: ......