Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Possible or not
#1
Not Solved
I want to run 2 instances of mybb, using 1 database for logins and accounts. Both instances will have different plugins and such.

Would this be harmful or even possible?
Relaxing and Friendly; Anime Forum
Reply
#2
Not Solved
Possible; not easy
[Image: kAhpvOW.png]
Reply
#3
Not Solved
Hi there.

I've been using MyBB for just a few weeks so I'm not an expert by far, but here what I'd try. Hope it might help you Smile

1 - Create 3 databases. One for each forum (A and B), one for accounts ( C ).
2 - Install both forums and link them to their respective database.
3 - Copy from database A every structure related to accounts, and paste it to database C.
4 - On forum A, create a mysql connexion to database C (See inc/db_* classes for that, I think).
5 - On forum A, locate in code's forum every mysql request relative to accounts, and use the mysql connexion created in 4  for these ones instead of the usual connexion.
6 - Copy any modification you made on forum A to forum B.
Reply
#4
Not Solved
Yes, it's possible but don't expect it to be a easy task.
Reply
#5
Not Solved
https://dev.mysql.com/doc/refman/5.7/en/...ation.html
Reply
#6
Not Solved
Take a look at:
http://community.mybb.com/thread-80412.html

Be sure to test it on a dev board first (not your production forums) to ensure compatibility with 1.8.
Reply
#7
Not Solved
Thanks for all your answers, i know it wont be an easy task but it will make server management alot easier for me (and the machine[s]) in the near future
Relaxing and Friendly; Anime Forum
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)