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 > Connecting databases help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-05-08, 19:42
endofregulation.c endofregulation.c is offline
Registered User
 
Join Date: Jul 2008
Posts: 4
Connecting databases help

Hi,

I am very new to mysql. I have two databases which go to separate scripts on my site. one being a video site and another is a forum. Currently members have to register for each script separately.

What I would like to do is make it so when a member registers for either the video script or the forum they will automatically be registered for the other as well. I am very new to mysql as I said and I would really appreciate the help.
Reply With Quote
  #2 (permalink)  
Old 08-06-08, 02:54
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
if the both db's are on the same physical MySQL server then you should be able to access both db's, assumng that your ISP allows this through their security settings. thgis woulkd enable you to have one db with security settings in. however that begs the question why no have just one db for both sites

as an alternative, depending on what front end you are using, you could replicate the user account information in both db's by writing to both fromt he same script.. but thats klunky and not a smart idea
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 08-06-08, 13:18
endofregulation.c endofregulation.c is offline
Registered User
 
Join Date: Jul 2008
Posts: 4
both databases are through the same host. I have a shared host. With that said I don't know how to go about enabling one db with security settings in.

well I would like to have one db for both sites but I do not know how to go about redirecting the script to another db. unless when installing the script over I could use a db thats already in place for the other site but I don't think that would allow me to install within that db.

but yea ultimately I could just copy the info over to the other db but they have different entities within.
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