Jump to content

[Question] databases connections


Recommended Posts

Posted

Hello guys, if there was too many resources uses a private database (dbConnect),

Would that going to cause a problem ?, Like losing connection on some other resources or something ?

  • Discord Moderators
Posted (edited)

No,, in theory it should cause any problem(s).

Edited by Pirulax
  • Thanks 1
Posted

https://wiki.multitheftauto.com/wiki/DbConnect

 

Check the options parameters:

  • share which can be set to 0 or 1. (Default value for SQLite is "share=1", for MySQL is "share=0"). When set to 1, the connection is shared and will be used by other calls to dbConnect with the same host string. This is usually a good thing for SQLite connections, but not so good for MySQL unless care is taken.

 

Maybe this helps.

  • Discord Moderators
Posted

Be realistic.
It just uses RAM, nothing more.(I think)
So really, that few mb(or even kb) of RAM isnt a problem I think.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...