How to connect Liferay Portal with mysql database using eclipse? -
i have liferay 6.2 , want connect mysql database using eclipse ide.how connect them , have use. please give me example startup.
follow below steps->
- create new liferay server (point liferay portal).
- start server.
- when server start hit localhost:8080.
- a page displayed database configuration , user configuration.
- provide db name , usename , password.
- once provide that, liferay use database.(obviously db should in database)
else can create portal-setup-wizard.properties file in \liferay-portal-6.2.0-ce-ga1 directory. add following entries.
admin.email.from.name=test test jdbc.default.password=root liferay.home=d:/5555555/liferay-portal-6.2.0-ce-ga1 admin.email.from.address=test@liferay.com 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 can follow below link
http://www.liferaysavvy.com/2013/12/liferay-62-portal-development.html
here step step process has been given. if find helpful mark above answer, helpful other persons also.
to use service builder in portlet can go through following links.. learn how create portlet , 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 can download liferay cookbook http://www.mpowerglobal.com/download-cookbook
book contains query. need dig , find.
Comments
Post a Comment