We can configure MySQL in Liferay very easily. The configuration for MySQL is done in the properties file named as "portal-ext.properties".
You just need to follow the below steps:
If portal-ext.properties is not available then you can manually create portal-ext.properties file into the /tomcat-7.0.42/webapps/ROOT/WEB-INF/classes/ floder of your Liferay Tomcat Bundle.
Write the below contents in the portal-ext.properties file
In the above case mysql user name is root and password is test. You need to provide proper mysql credentials according to your mysql setup. And dentalnote is the database that we are connecting with Liferay .
Now restart your liferay tomcat server to connect to MySQL.
0 Comment(s)