Forums

RSS RSS
problem in portal 5.2.1 Flat View
Threads
problem in portal 5.2.1
2/13/09 11:20 PM
problem in portal 5.2.1

i was using liferay 5.1.2, then i upgraded it to liferay 5.2.1 (with tomcat-5.5.27) ,
i set portal-ext.properties with this way

# MySQL
#
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost/newlportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=root
jdbc.default.password=root

my databae upgraded but portal dosn't work and i see this error in log file
java.sql.SQLException: Connections could not be acquired from the underlying database!

can you help me?
Flag Flag
RE: problem in portal 5.2.1
2/14/09 8:26 AM as a reply to z z z.
HI,

You may first verify your database settings ....

Make sure that the database newlportal was created properly ....

Let me know your testing ....

Thanks

Jonas Yuan
Flag Flag
RE: problem in portal 5.2.1
8/13/09 9:04 AM as a reply to z z z.
>try to use mysql db port (3306) if it is it
jdbc.default.url=jdbc:mysql://localhost:3306/newlportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false


>did you try to remove the lportal database and create new one again?
Flag Flag
RE: problem in portal 5.2.1
8/14/09 4:36 AM as a reply to Alaa Hendi.
As mentioned above, why have you not specified the port number that mysql is listening to?
Flag Flag