📓
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
  2. Setup and usage
  3. Mysql Actions

Action Mysql Close Connection

PreviousAction Mysql ConnectNextAction Mysql Insert

Last updated 4 years ago

Was this helpful?

This Action is used for closing Mysql database connection. If you will fire some other Mysql Actions after this action - you will get an error. So be careful with using this action.

I do not recommend you to connect and disconnect too much times - almost all database servers think that this is a spam and drop connection to mysql server. You will get loooooong time lag and error exception in Unity. So, keep in mind not to fire this two actions very often. As for me this action can be called once or never in your project. Your database will close all "Sleeping" connections by itself. But if you want to use it - think where to use it.