If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Sharing one database between two programs.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-05-04, 20:01
zedpol zedpol is offline
Registered User
 
Join Date: Jan 2004
Posts: 2
Question Sharing one database between two programs.

My hosting service gives me a mySQL database but only one, it is quite large (100mb) so i was hoping to share the database between two programs, one is gallery (gallery.sourceforge.net, don't go to www.gallery.com it is NSFW, needless to say it suprised me) and one that i am writting. I am new to this whole mySQL thing. Thanks in advance for the help.

zedpol
Reply With Quote
  #2 (permalink)  
Old 01-05-04, 23:10
gyuan gyuan is offline
Registered User
 
Join Date: Dec 2003
Posts: 454
question?

What is your question?
Reply With Quote
  #3 (permalink)  
Old 01-06-04, 00:30
roga roga is offline
Registered User
 
Join Date: Jan 2004
Location: Germany
Posts: 17
Re: Sharing one database between two programs.

Quote:
Originally posted by zedpol
My hosting service gives me a mySQL database but only one, it is quite large (100mb) so i was hoping to share the database between two programs, one is gallery (gallery.sourceforge.net, don't go to www.gallery.com it is NSFW, needless to say it suprised me) and one that i am writting. I am new to this whole mySQL thing. Thanks in advance for the help.

zedpol
You can use the same database for more than one software. Just use different table prefixes: "ga1_...." gallery1, "ga2_...." gallery2, "fo1_...." forum, ........
Reply With Quote
  #4 (permalink)  
Old 01-06-04, 11:14
zedpol zedpol is offline
Registered User
 
Join Date: Jan 2004
Posts: 2
Wink thanks

So yah, my question was well hidden, sorry about that. Roga thanks for the answer.

zedpol
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On