Reputation: 21
I have Liferay 6.2 and i want to connect with mysql database using eclipse IDE.How to connect them and what i have to use. Please give me any example for startup.
Upvotes: 2
Views: 4050
Reputation: 913
Follow the below steps->
Else you can create a portal-setup-wizard.properties file in \liferay-portal-6.2.0-ce-ga1 directory. Then add the following entries.
admin.email.from.name=Test Test
jdbc.default.password=root
liferay.home=D:/5555555/liferay-portal-6.2.0-ce-ga1
[email protected]
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.username=root
jdbc.default.url=jdbc:mysql://localhost/project_monitor_liferay?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
setup.wizard.enabled=false
Else you can follow the below link
http://www.liferaysavvy.com/2013/12/liferay-62-portal-development.html
Here step by step process has been given. If you find it helpful then mark the above as an answer, so that it would be helpful for other persons also.
To use service builder in portlet you can go through the following links.. Learn how to create a portlet and integrate services in it.
https://github.com/liferay/liferay-plugins/tree/master/portlets/sample-service-builder-portlet
http://www.liferaysavvy.com/2014/05/liferay-mvc-portlet-development-with.html
http://www.liferaysolution.com/2011/12/nice-video-tutorial-to-create-sample.html
http://innovationliferay.blogspot.in/p/service-builder-concept.html
Else you can download the liferay cookbook from
http://www.mpowerglobal.com/download-cookbook
This book contains all your query. You just need to dig into it and find.
Upvotes: 3