Fórumok

Liferay DB change

thumbnail
Manikantha Rajamani, módosítva 10 év-val korábban

Liferay DB change

Expert Bejegyzések: 258 Csatlakozás dátuma: 2014.03.25. Legújabb bejegyzések
Hi Guys....
by default liferay works with Hyposonic DB....but I want to Overide that DB to MySQL DB....can u suggest me the file where i can overide that to mysql
thumbnail
Pankaj Kathiriya, módosítva 10 év-val korábban

RE: Liferay DB change

Liferay Master Bejegyzések: 722 Csatlakozás dátuma: 2010.08.05. Legújabb bejegyzések
Place portal-ext.properties with database related properties parallel to tomcat folder or in /webapps/ROOT/WEB-INF/classes/ and restart the server.

You can find database related property keys in source code portal-impl/src/portal.properties.


Regards
Virat sen, módosítva 8 év-val korábban

Re: [Liferay Forums][1. Installation / Deployment / Setup] RE: Liferay DB c

Junior Member Bejegyzések: 57 Csatlakozás dátuma: 2013.07.21. Legújabb bejegyzések
Hi ,
With the extend of previous post,open the portal.properties file-> search
for db connection for respective db,i.e,mysql,oracle etc->copy the code
from there, and paste it in the portal-ext.properties file->provide the
uname/pwd.then restart ur server.chk ur console->as chkpoint,it will show
ur mysql db connection or nt.place the file either of two above mentioned
path.

Cheers!!
On Mar 26, 2014 7:43 PM, "Pankaj Kathiriya from liferay.com" <
forums@liferay.com> wrote:

> Place portal-ext.properties with database related properties parallel to
> tomcat folder or in /webapps/ROOT/WEB-INF/classes/ and restart the server.
>
> You can find database related property keys in source code
> portal-impl/src/portal.properties.
>
>
> Regards
>
>
> To view the thread, follow the link below:
>
> https://www.liferay.com/community/forums/-/message_boards/view_message/36136704
> --
> Liferay.com <https://www.liferay.com>