Hi Sanjay,
There are many reference that you can have a look at this topic in mendix.
For your Reference:
Mendix Documentation: https://docs.mendix.com/appstore/connectors/database-connector/
Youtube : https://www.youtube.com/watch?v=oCAT8wm4mFo
Good Luck !!