Friday, November 29, 2013

Liferay Mysql Configuration

Steps to Configure mysql DB to liferay 

  • Goto mysql server and cerate a empty database
  • Now goto <liferay server>/
  • Create a file with name portal-ext.properties
  • Add the below lines to the file.
  • # MySQljdbc.default.driverClassName=com.mysql.jdbc.Driver

    jdbc.default.url=jdbc:mysql://localhost/<DB Name >?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false

    jdbc.default.username=
jdbc.default.password=
  • Start the server and you can see that liferay is configured to the mysql DB 

No comments:

Post a Comment

Distributed Transactions

What is a distributed transaction?  Transactions that span over multiple physical systems or computers over the network, are simply termed D...