Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 03:48 pm EST

Geeklog Forums

using same data base w/ 2 sites


metoo

Anonymous
How do I use the same data base with two sites? This should be as simple as pointing the data base but It's been a long time since I've done any of that so I'm not sure where to begin.

any help would be a big relief. thanks Razz nans.us
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Have a look at the FAQ


There are two ways to set up the database(s): if you are using multiple databases, one for each site, set $_DB_name to a different database for each site. If you only have access to or only want to use one database for all of your sites, then set $_DB_table_prefix to a unique string for each site, such as 'site1_gl_', 'site2_gl_', etc.


In addition, you could do a quick search here, as there are variaous topics discussing the possibilities of sharing the user DB etc ...

Offcourse it is all depending on what you want to achieve.

Best Regards,
Boris



Vanrillaer.com - our Family Portal
 Quote

All times are EST. The time is now 03:48 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content