Setup and usage

Set up your Database connection (if not WebGL build)

If you want to use this in production - your database need to be opened to the world. Otherwise - you will not connect to database. For local connection check your firewall and open database port. Default MySql port is 3306. If you want to use WebGL build - skip this setup and read "Action Use WebGl"
Make Global or Local Variable that will save your connection string. Add Trigger "On start" and add action "Mysql Set Config".
After this use Mysql Connect Action to make connection to your database!

This two actions must execute with onStart trigger. Otherwise you will have errors with using other Mysql Actions

If you have some troubles with this - watch this tutorial video
If everything is good, this action will make a connection string which you will use in other Mysql Actions
Last modified 9mo ago
Copy link