Jump to content

is this possible?


Fury

Recommended Posts

Posted

What do you mean? You want to run two servers with the same internal database or what? Or a server with two internal databases?

I don't think neither of these are possible, because the database changes every time you query it. Of course if you have made a Windows batch file and make it look for changes every now and then and then copy and paste the file to the second server, it might work, but do not think it's a good idea. It's the -worst- idea.

You should use MySQL for such things.

Posted
is this possible to run 2 run server in one internal.db?

Put the same file in the other server

That's not running two servers with one internal.db, it will be two internal.db anyway.

  • 2 weeks later...
Posted
No, if you want to share a DB with another host, you MUST use MySQL. MTA internal .db is only for the current server that is running it.

i want to share internal.db with server in same host. its not on the another host.

edit: what about this? https://wiki.multitheftauto.com/wiki/DbConnect

test_db = dbConnect( "sqlite", ":/example/sub/dir/file.db" ) 

Posted
You can't use SQLite with 2 or more servers. Only MySQL can do.

oh, okay. is there any MySQL tuttorial for mta sa?

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