Mendix needs an internal database that matches these requirements: https://docs.mendix.com/refguide/system-requirements#databases
Next to the internal database, it can connect to any other system required either through appstore compents like database replication or database connector. You can also integrate using rest service/webservices for example, or you could create your own integration via java actions. Anything is possible.