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 > need help about MYSQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-12-04, 20:42
skyfl skyfl is offline
Registered User
 
Join Date: Jul 2004
Posts: 3
need help about MYSQL

Dear readers.

First hi to all. It's my first time to this forum. I just wonder if someone can helpif he or she knows how to connect MYSQL database to 2 websites.
I have one with php/mysql and 2nd one only with php/cgi.
I want to use the same database for them both but I couldn't , because it's
not the localhost. Does anyone knows about it please? or is it impossible?
I hope that I will hear from you guys soon .

Thanks and have a nice day.
Reply With Quote
  #2 (permalink)  
Old 07-13-04, 08:33
markcasazza markcasazza is offline
Registered User
 
Join Date: Jul 2004
Posts: 5
You need to use the GRANT command to allow the WEB server to connect to the MySQL server. You also need to make sure port 3306 is not blocked by any network equipment. You then replace localhost with the actual host name of the MySQL server. I suggest reading: http://www.devshed.com/c/a/MySQL/The...-Grant-Tables/

Mark Casazza
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