Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Problem in MySQL Connection


Level 2


I'm trying to use MySQL DB connection,

I've configured in OSGi also.

When I try to do


private DataSourcePool source"

it is giving null value to it, hence it is giving error while we try do source.getDataSource("DataBaseTravel");

I'm Using AEM 6.4v.


Thanks in Advance

0 Replies


Level 2

Thank you for replying, but still it is not working for me.

Whether is there problem with AEM 6.4?


Employee Advisor

How have you configured your datasource? Do you see in the error.log the string "datasource" (check case-insensitiv!)



Level 2

Thank You for replying.

Now it is Working for me,the problem was in the mysql-connector version.