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

javaÁ¬½Ómysql±»¾Ü¾ø

ÎÒÔÚ³ÌÐòÀïÃæдÁËÒ»¸ö¼àÌýÆ÷£¬TomcatÆô¶¯µÄʱºò¾Í»áÈ¥¼ì²âÊý¾Ý¿âÊÇ·ñÁ¬½ÓÉÏÁË£¬µ«ÊDZ¨ÁË´í
Access denied for user 'root'@'localhost' (using password: YES)
·ÃÎʱ»¾Ü¾ø£¬ÔõÑùÐ޸ķÃÎÊÓû§µÄȨÏÞ°¡£¬ÎÒÓÃroot²»¿ÉÒÔ£¬Ð½¨Ò»¸öÓû§Ò²²»¿ÉÒÔ
Ó¦¸ÃÊÇrootûÓÐÔ¶³ÌÁ¬½ÓµÄȨÏÞ¡£Äã¿´ÏÂ
use mysql

select Host,User,Password from user;

¿´¿´½á¹û¾ÍÖªµÀÁË¡£

ÄÇÔõôÐ޸İ¡ ÎÒÏÖÔÚµÄÁ¬½Ó×Ö·û´®ÊDZ¾»ú
jdbc.master.url=jdbc:mysql://localhost:3306/ytga?zeroDateTimeBehavior=convertToNull
jdbc.master.username=root
jdbc.master.password=mysql

ʹÓñ¾»úµÄIPÒ²²»¿ÉÒÔ
jdbc.master.url=jdbc:mysql://192.168.0.203:3306/ytga?zeroDateTimeBehavior=convertToNull
jdbc.master.username=root
jdbc.master.password=mysql

ÎҵķÃÎʵÄÊDZ¾»úµÄmysqlÊý¾Ý¿â

Ô¶³ÌÁ¬½ÓÊý¾Ý¿âûÕâôÂé·³°É£¬ÒÔÇ°Á¬½Ósql2000Ö±½ÓÀ´¸öip¾ÍÁ¬ÁË£¬

²»ÖªµÀΪʲô£¬Â·¹ý°ï¶¥¡£

2009-09-15 10:19:05,937 ERROR [org.hibernate.util.JDBCExceptionReporter] - <Cannot create PoolableConnectionFactory (Access denied for user 'ghb'@'web.rambo.lan' (using password: YES))>2009-09-15 10:19:13,171 INFO [org.quartz.simpl.SimpleThreadPool] - <Job execution threads will use class loader of thread: main>
2009-09-15 10:19:13,234 INFO [org.quartz.core.QuartzScheduler] - <Quartz Scheduler v.1.6.0 created.>
2009-09-15 10:19:13,234 INFO [org.quartz.simpl.RAMJobStore] -


Ïà¹ØÎÊ´ð£º

jspÒ³Ãæ»ñÈ¡sessionµÄÎÊÌâ - Java / Java EE

ÎÒÔÚjspÒ³Ãæ´æÉÏÒ»¸ösession,±¾Ò³Ã滹¿ÉÒÔÈ¡³öÖµÀ´.
µ«ÊÇһˢÐÂ,»òÕß´ò¿ªÐµÄÒ³Ãæ¾ÍÈ¡²»³öÖµÀ´ÁË.
Ææ¹ÖµÄÊÇ,ÎÒ²âÊÔÁíÒ»¸ö³ÌÐòʱºò
ÔÚjspÒ³Ãæ´æÉÏÒ»¸ösession,±¾Ò³Ãæ¿ÉÒÔÈ¡³öÖµÀ´,ˢлò´ò¿ªÐÂÒ³ÃæÖµÄÜÈ¡³öÀ´ÁË.
......

jsp ÖÐÂÒÂëµÄ - Java / Web ¿ª·¢

ÎҵĿª·¢µÄƽ̨ÊÇMyeclipes6.0 + tomcat5.x + mysql
ÎÒËùÓеıàÂ뷽ʽ¶¼ÊÇÓõÄUTF-8 
ÎÒÖ»ÓÃÁËStrtus¿ò¼Ü
ÔÚÒ»¸öformÖÐÈçÏÂÓõÄÊÇpostµÄÌá½»·½Ê½£º
 <form class="form" action=&quo ......

ÕÐƸȫְ¡¢¼æÖ°JAVA¿ª·¢¹¤³Ì

´ó¼ÒºÃ£¬ÎÒÃǽüÆÚÕÐƸȫְ¡¢¼æÖ°¿ª·¢¹¤³Ìʦ£¬È«Ö°¹¤³Ìʦ¹¤×÷µØµãÖ÷ÒªÊÇÉîÛÚ£¬¼æÖ°¹¤³Ìʦ±¾ÈË¿ÉÔÚÉîÛÚ£¬Ò²¿ÉÒÔÔÚÒìµØͨ¹ýÔ¶³ÌЭͬ¿ª·¢µÄ·½Ê½¿ªÕ¹¹¤×÷£¬ºÏ×÷·½Ê½¿É¹²Í¬É̶¨¡£


ְλE601£ºJava ¹¤³Ìʦ£¨Web ¿ ......

java È¡×Ö¶ÎÃû

select a.name as parename ,b.name as chliname,a.typeId as paretype,b.typeid as chlitype from prodkind a inner join prodkind b where a.typeId=b.parentId
²é³öÀ´µÄ×Ö¶ÎÃû³Æ²»ÊÇ parename ¶øÊÇname
se ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ