August 2016
Intermediate to advanced
390 pages
8h 22m
English
Let's start this step by creating a datasource, providing basic configuration settings such as:
Connect to the CLI and do as follows:
data-source add --name=MySQLDS --driver-name=mysql --user-name=root --password=root --connection-url="jdbc:mysql://192.168.59.104:3306/mysql?autoReconnect=true&useSSL=false" --jndi-name=java:jboss/MySQLDS
The preceding command should have added the datasource definition inside the standalone.xml file. Here it is for reference:
<datasource jndi-name="java:jboss/MySQLDS" pool-name="MySQLDS"> <connection-url>jdbc:mysql://192.168.59.104:3306/mysql?autoReconnect=true&useSSL=false</connection-url> ...
Read now
Unlock full access