SuleymanM Posted May 24, 2013 Share Posted May 24, 2013 Hi all, - How put 2 servers in 1 Database? Link to comment
Castillo Posted May 24, 2013 Share Posted May 24, 2013 Just connect both servers to the same MySQL database. Link to comment
beatles1 Posted May 24, 2013 Share Posted May 24, 2013 If you mean the default MTA accounts and internal SQLite databases then its not going to be possible to have two servers share one at the same time. When the server starts it locks down the database so it can only edit it itself and therefore two servers can not access it at the same time. You would have to use a custom MySQL setup to allow two servers to access the database at the same time. Link to comment
SuleymanM Posted May 25, 2013 Author Share Posted May 25, 2013 how connect both servers to the same MySQL database? Link to comment
DiSaMe Posted May 25, 2013 Share Posted May 25, 2013 Look at that page to find out how. Link to comment
xXMADEXx Posted May 26, 2013 Share Posted May 26, 2013 --element dbConnect ( string databaseType, string host [, string username = "", string password = "", string options = "" ] ) connection = dbConnect ( "MySQL", "127.0.0.1", "xXMADEXx", "database" ) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now