Connect to two different MySQL databases at the same time

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

bungkusan
Forum Newbie
Posts: 20
Joined: Tue Sep 16, 2008 8:56 am

Re: Connect to two different MySQL databases at the same time

Post by bungkusan »

jayshields wrote:On your http://www.bungkusan.com website, when connecting to MySQL, do you use localhost as the hostname? If so, and you haven't modified the default port to use, then I believe that simply using http://www.bungkusan.com should work, or some variation of it as described in my previous post.

I have used remote servers for MySQL databases before, but specified the IP, according to the manual it can also accept domain names, and just get the IP from it I guess.
yeah, I use localhost for http://www.bungkusan.com

I've tried to use another website to replace localhost, such as "http://www.dealerpulsa.us", but it return no result except error :(

is it possible to use connnection to :
http://www.mobilpilihan.com
http://www.dealerpulsa.us
http://www.iklan-laris.com
http://www.iklanmega.net
from http://www.bungkusan.com ?
how to connect with this 5 website by replacing localhost?

I just wanna use a portal to access this 5 web admin site ^^
Thx for your help
Post Reply