📓
Mysql for Game Creator 1
  • Mysq for GC1 Documentation
  • Mysql for Game Creator
    • Getting started
    • Setup and usage
      • Mysql Actions
        • Action Use WebGl
        • Action Mysql Connect
        • Action Mysql Close Connection
        • Action Mysql Insert
        • Action Mysql Update
        • Action Mysql Select
        • Action Mysql Delete
        • Action Mysql Clear Table
        • Action Mysql Select To UI
        • Action Mysql Query
      • Other Actions
        • Action Text to Variable
        • Action Encrypt and Decrypt data
        • Action Generate random string
        • Action Check Internet Connection
        • Action Base64 Image to UI Image
      • Condition If Connected To Internet
      • "Life Hacks"
        • Update +1
        • WebGL Action
        • Working with Variables
    • FAQ
    • Roadmap
Powered by GitBook
On this page

Was this helpful?

  1. Mysql for Game Creator

Setup and usage

PreviousGetting startedNextMysql Actions

Last updated 4 years ago

Was this helpful?

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".

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

After this use to make connection to your database!

Mysql Connect Action