Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
z z z
problem in portal 5.2.1
February 13, 2009 11:20 PM
Answer

z z z

Rank: Junior Member

Posts: 25

Join Date: February 11, 2009

Recent Posts

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?
Jonas Yuan
RE: problem in portal 5.2.1
February 14, 2009 8:26 AM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

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
Alaa Hendi
RE: problem in portal 5.2.1
August 13, 2009 9:04 AM
Answer

Alaa Hendi

Rank: Junior Member

Posts: 34

Join Date: February 10, 2009

Recent Posts

>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?
Ziggy ©
RE: problem in portal 5.2.1
August 14, 2009 4:36 AM
Answer

Ziggy ©

Rank: Expert

Posts: 293

Join Date: June 8, 2008

Recent Posts

As mentioned above, why have you not specified the port number that mysql is listening to?