ªð¦^¦Cªí ¦^´_ µo©«

±q²Ä¤@¦¸¸ê®Æ®w½}¤u¥H¨Ó

±q²Ä¤@¦¸¸ê®Æ®w½}¤u¥H¨Ó

±q²Ä¤@¦¸¸ê®Æ®w½}¤u¥H¨Ó
­ì¥»¥H¬°ªº°¸µo¨Æ¥ó

¦ýªñ¤é±¡ªp¤Î¦¸¼ÆÅܦh
¨Ï±o¥²¶·¥¿µø³o­Ó°ÝÃD
³o¤G¤Ñ§Ú·|½Õ¾ã¤@¨Ç°Ñ¼Æ
¨Ã¥B±K¤Áª`·N

½Õ¾ãªº°Ñ¼Æ·|¦A¤U¤@¦¸¸ê®Æ®w½}¤u«á
­«±Ò¸ê®Æ®w®É¹B§@
¥u¯àÃä½ÕÃä§ä°ÝÃD
«¢
§Ú¥H¬°§Ú³Ìªñ¹q¸£«ç»ò¤F°Ç....
­ì¨Ó¦p¦¹
¯ó¤ì¤£¸gÁ÷³· ¥Í·N¤£©T
ªi­ô¥[ªo!!!
¨S½×¾Âªº¤@¤À¤@¬í³£Ãø¹L¡A§Æ±æ½×¾Â¨t²Îí©w!!   ¨¯­W±z¤F~~
°l¨D¥­¤Z§Y¬O©¯ºÖ~~
ªi¤j¨¯­W°Õ¡I
¤W¦¸¤~­è¤É¯ÅµwÅé¡A ³o¦¸¤S­n°£¿ù¡C
¬[¦øªA¾¹¯u±o­nªá¤£¤Ö¤ß«ä¡Bª÷¿úºûÅ@¡C
§Úµo²{³£¬O¨C¥«³s¤£¤W³£Åã¥Ü MySQL.sock ³o¤äµ{¦¡¦³°ÝÃD

PHP ¤£¼ô¡A¤£ª¾¬O§_±N½×¾Âªº DB connection string ¦s¦b¥þ°ìÅܼƤ¤
¦ý¤£©ú­ì¦]¤U¿ò¥¢/³QÂмg? ¤~¾É¦ÜµLªkŪ¨ú¸ê®Æ®w?

¦pªG¬O...
©Î³\¥i¥H try catch ºI¨úException¡A¦A§â  connection string ¦s¦^¥þ°ìÅܼƤ@¦¸?
³o¤è­±ÁÙ¯u¨Ï¤£¤W¤O
·PÁ±z¤F  ªi­ô.
¨¯­W±z¤F~~
³Ì§QªºÁÙ¬O¼w»s¤â³N¤M~"life-critical decision making"
mysql¸ê®Æ®w¤ñ¸û¾A¥Î©ó¸ê®Æ¶q¤pªº¦a¤è
½×¾Â¦¨ªø¶V¨Ó¶V§Ö³t¡Aµo¤å¶q¤]¤ñ¥H©¹¦h¤£¤Ö
¥i¯à¦³ÂI¶W¹Lmysqlªº­t²ü¶q
ªi¤j¨¯­W¤F
¬O¦]¬°¸ê®Æ³Q¨t²Î±j¨îÃö³¬,PHPŪ¤£¨ì¸ê®Æ®w,©Ò¥H¥X²{¨º¼Ëªº°T®§
³q±`·|µo¥Í¦b°O¾ÐÅ餣¨¬®É,
¦ý§Ú°O¾ÐÅé¬O¨¬°÷ªº
Ãö³¬·í®É,¸ê®Æ®w¥u¨Ï¥Î¤F1G
ªð¦^¦Cªí ¦^´_ µo©«