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

½«ÈÕÖ¾ÎļþдÈëMySqLÖÐ

Ê×ÏȽ¨Ò»¸ö¹¤³Ì£¬×¼±¸ºÃlog4jµÄjar°üºÍMysqLµÄÇý¶¯°ü¡£
ÅäÖÃlog4j.propertiesÎļþ£º
    #´Ë¾äΪ¶¨ÒåÃûΪstdoutµÄÊä³ö¶ËÊÇÄÄÖÖÀàÐÍ£¬¿ÉÒÔÊÇ
#org.apache.log4j.ConsoleAppender£¨¿ØÖÆ̨£©£¬
#org.apache.log4j.FileAppender£¨Îļþ£©£¬
#org.apache.log4j.DailyRollingFileAppender£¨Ã¿Ìì²úÉúÒ»¸öÈÕÖ¾Îļþ£©£¬
#org.apache.log4j.RollingFileAppender£¨Îļþ´óСµ½´ïÖ¸¶¨³ß´çµÄʱºò²úÉúÒ»¸öеÄÎļþ£©
#org.apache.log4j.WriterAppender£¨½«ÈÕÖ¾ÐÅÏ¢ÒÔÁ÷¸ñʽ·¢Ë͵½ÈÎÒâÖ¸¶¨µÄµØ·½£©
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
#´Ë¾äΪ¶¨ÒåÃûΪstdoutµÄÊä³ö¶ËµÄlayoutÊÇÄÄÖÖÀàÐÍ£¬¿ÉÒÔÊÇ
#org.apache.log4j.HTMLLayout£¨ÒÔHTML±í¸ñÐÎʽ²¼¾Ö£©£¬
#org.apache.log4j.PatternLayout£¨¿ÉÒÔÁé»îµØÖ¸¶¨²¼¾Öģʽ£©£¬
#org.apache.log4j.SimpleLayout£¨°üº¬ÈÕÖ¾ÐÅÏ¢µÄ¼¶±ðºÍÐÅÏ¢×Ö·û´®£©£¬
#org.apache.log4j.TTCCLayout£¨°üº¬ÈÕÖ¾²úÉúµÄʱ¼ä¡¢Ï̡߳¢Àà±ðµÈµÈÐÅÏ¢£©
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
#Èç¹ûʹÓÃpattern²¼¾Ö¾ÍÒªÖ¸¶¨µÄ´òÓ¡ÐÅÏ¢µÄ¾ßÌå¸ñʽConversionPattern£¬´òÓ¡²ÎÊýÈçÏ£º
#%m Êä³ö´úÂëÖÐÖ¸¶¨µÄÏûÏ¢
#%p Êä³öÓÅÏȼ¶£¬¼´DEBUG£¬INFO£¬WARN£¬ERROR£¬FATAL
#%r Êä³ö×ÔÓ¦ÓÃÆô¶¯µ½Êä³ö¸ÃlogÐÅÏ¢ºÄ·ÑµÄºÁÃëÊý
#%c Êä³öËùÊôµÄÀàÄ¿£¬Í¨³£¾ÍÊÇËùÔÚÀàµÄÈ«Ãû
#%t Êä³ö²úÉú¸ÃÈÕ־ʼþµÄÏß³ÌÃû
#%n Êä³öÒ»¸ö»Ø³µ»»Ðзû£¬Windowsƽ̨Ϊ“rn”£¬Unixƽ̨Ϊ“n”
#%d Êä³öÈÕ־ʱ¼äµãµÄÈÕÆÚ»òʱ¼ä£¬Ä¬ÈϸñʽΪISO8601£¬Ò²¿ÉÒÔÔÚÆäºóÖ¸¶¨¸ñʽ
#±ÈÈ磺%d{yyyy MMM dd HH:mm:ss,SSS} Êä³öÀàËÆ£º2002Äê10ÔÂ18ÈÕ 22£º10£º28£¬921
#%l Êä³öÈÕ־ʼþµÄ·¢ÉúλÖ㬰üÀ¨ÀàÄ¿Ãû¡¢·¢ÉúµÄỊ̈߳¬ÒÔ¼°ÔÚ´úÂëÖеÄÐÐÊý¡£
#[Log4JDemo]ÊÇlogÐÅÏ¢µÄ¿ªÍ·£¬¿ÉÒÔΪÈÎÒâ×Ö·û£¬Ò»°ãΪÏîÄ¿¼ò³Æ¡£
#log4j.appender.stdout.layout.ConversionPattern=[Log4JDemo] %p [%t] %C.%M(%L) | %m%n
log4j.rootLogger=DEBUG,DATABASE
log4j.addivity.org.apache=true
########################
# JDBC Appender
#######################
log4j.appender.DATABASE=org.apache.log4j.jdbc.JDBCAppender
log4j.appender.DATABASE.layout=org.apache.log4j.PatternLayout
log4j.appender.DATABASE.URL=jdbc:mysql://127.0.0.1:3306/logdb?characterEncoding=utf8
log4j.appender.DATABASE


Ïà¹ØÎĵµ£º

Á˽âÊý¾Ý´æ´¢mysql¶Ô²âÊÔµÄÖúÒæ

¹ýÈ¥µÄÒ»¸öÔ£¬ÎҵŤ×÷ÖØÐĶ¼ÔںϷþÄ£¿éµÄ²âÊÔ¡£ÆÄÓÐһЩÊÕ»ñ¡£
´Ë´Î´óÁ¿ºÍmysql´ò½»µÀ£¬¶Ô²úÆ·µÄÊý¾Ý´æ´¢ÓÐÁ˱ȽÏÈ«ÃæµÄÕÆÎÕ¡£²¢´ÙʹºÍÖ´ÐÐÁËdbµÄ±í½á¹¹ºÍÊôÐԵļì²é¡£ºÏ·þͶ·Åºó£¬ÔÝδ·¢ÏÖÒò´íÎóÊý¾Ýµ¼ÖµÄbug»òʹʡ£
²¢ÔÚ²âÊÔ³õÆھ͹Ø×¢ºÍ¼ì²âÐÔÄÜÖ¸±ê£¬´Ùʹ³ÌÐò×öÁËÒ»´ÎÐÔÄܲâÊÔ£»¶ÔͶ·ÅʱµÄ·çÏÕÔöÇ¿ÁËÔ¤·ÀºÍ¿ØÖÆ¡£ ......

MySQLÖÐÐÞ¸ÄÃÜÂë¼°·ÃÎÊÏÞÖÆÉèÖÃÏê½â

¡¡MySQLÊÇÒ»¸öÕæÕýµÄ¶àÓû§¡¢¶àÏß³ÌSQLÊý¾Ý¿â·þÎñÆ÷¡£MySQLÊÇÒÔÒ»¸ö¿Í»§»ú/·þÎñÆ÷½á¹¹µÄʵÏÖ£¬ËüÓÉÒ»¸ö·þÎñÆ÷ÊØ»¤³ÌÐòmysqldºÍºÜ¶à²»Í¬µÄ¿Í»§³ÌÐòºÍ¿â×é³É¡£ÓÉÓÚÆäÔ´ÂëµÄ¿ª·ÅÐÔ¼°Îȶ¨ÐÔ£¬ÇÒÓëÍøÕ¾Á÷ÐÐ±à »ÓïÑ PHPµÄÍêÃÀ½áºÏ£¬ÏÖÔںܶàÕ¾µã¶¼ÀûÓÃÆäµ±×÷ºó¶ËÊý¾Ý¿â£¬Ê¹Æä»ñµÃÁ˹㷺ӦÓᣴ¦ÓÚ°²È«·½ÃæµÄ¿¼ÂÇ£¬ÐèҪΪÿһÓû§¸ ......

mysql front ×¢²áÂë

gNBpPFgyOw9Rwt/ozsnjgM7tJNo2 bhaaAThangemMkaz2tQhq3/f7dZ7 Vj29WeGHjuupj/AhYqymjAuokhYi X1T/fG+q1yR22PdcEP39dxU3ovEo lLLzwIZlQr9oJYwUf5eG4x5e1bMP nfIaIl8reszQPHFNbrxBjCVrBEXL TyBLehxzUpVI672t3LjX8q4ytCRC ezcoZQfMAc0DulJzNREbwlcf0Rco N0zW3ojBUxGsplBBZZPrD7/bPhkM rjtS8Bxym+HeV1TJDTXuiL8QLg== ......

phpmyadminÁ¬½Ó¶à¸öMySQLÊý¾Ý¿â


ÔÚphpmyadminµÄ¸ùĿ¼Ï½¨Á¢config.inc.php
дÈëÈçÏ´úÂ룺
<?php
//phpmyadmin ÅäÖÃÎļþ
//±¾µØMySQLÊý¾Ý¿â
$i=1;
$cfg['Servers'][$i]['host']          =
'localhost';
$cfg['Servers'][$i]['user']          ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ