Reputation: 29
I just have learned about IBM Worklight, and I was wondering of how to set up and configure MySQL database. I've set Worklight Adapter, but, I have no clue of how to make database with MySQL.
Upvotes: 2
Views: 1386
Reputation: 44516
You should go through the IBM Worklight Getting Started training materials to properly familiarize yourself with IBM Worklight.
The steps to make a Worklight project work in conjunction with MySQL are as follows.
The Database:
Worklight:
wl.db.type=MYSQL
wl.db.url=jdbc:mysql://localhost:3306/Worklight
wl.db.username=Worklight
wl.db.password=Worklight
If you now right-click the projcet and choose "Start Worklight Server", the server should launch successfully; if not, you did something wrong. :)
If the above works for you, you can now follow the MySQL adapter training module - follow the steps, and make sure to also configure the adapter XML with the database properties as requested in page 8.
Upvotes: 2