quinta-feira, 11 de agosto de 2016

Using the connector Database

MuleSoft
Connector DataBase
In this example I will show how to use the DataBase connector setting for MYSQL longer serves another database.



search the Database connector araste for your Flow conforms image


click the Database connector, then click the plus sign below to add a new configuration
Use the configurations of your database, in my case is the MYSQL


Note: You have to download and import the Driver MYSQL
(com.mysql.jdbc_5.1.5.jar)























Bench and table in MYSQL










XML do connector DataBase

<http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8081" doc:name="HTTP Listener Configuration"/>
    <db:mysql-config name="MySQL_Configuration" host="localhost" port="3306" user="root" database="mulesoft2016" doc:name="MySQL Configuration"/>

Nenhum comentário:

Postar um comentário