Java How to configure Wildfly datasource to support MySQL Navigate to the directory $WILDFLYHOME/modules/system/layers/base/com Create mysql/main directory Navigate to main directory and save MySQL JDBC driver's jar there Create a module.xml file with the content