Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Liferay Beginner's Guide
  • Table Of Contents Toc
  • Feedback & Rating feedback
Liferay Beginner's Guide

Liferay Beginner's Guide

3.8 (5)
close
close
Liferay Beginner's Guide

Liferay Beginner's Guide

3.8 (5)

Overview of this book

Table of Contents (19 chapters)
close
close
Liferay
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
PayPal Test Account Configuration
Index

Time for action – changing the file


So first create a property file called portal-ext.properties, within the LIFERAY_HOME directory and add the following properties into it:

jdbc.default.driverClassName=com.mysql.jdbc.Driver

jdbc.default.url=jdbc:mysql://localhost/neighbourhood_portal?useUnicode=true&characterEncoding=UTF8&useFastDateParsing=false

jdbc.default.username={your_username}

jdbc.default.password={your_password}

Replace {your_username} and {your_password} with your actual credentials for MySQL.

Note

Downloading the example code for this book

You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

What just happened?

Restart your server and Liferay will now be using MySQL instead of Hypersonic database.

For Oracle WebLogic, place the portal-ext.properties in WEBLOGIC_HOME...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY