Thursday, 27 June 2013

where to find portal-exp.properties & configure database connectivity ?

Hi Friend ,

In liferay  portal-exp.properties is most important file & in that we have to write code of connectivity with database & so many other thing.

Path : \liferay-portal-6.1.1\tomcat-7.0.35\webapps\ROOT\WEB-INF\classes

If not exist then create new file with properties extension.

MySql connection configuration code :

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


If any query plz do comment or mail us at:
chiragmsc007it@gmail.com
mehdisunasara@gmail.com