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 .
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/