Connecting Tech Pros Worldwide Help | Site Map

Connecting to both mssql and mysql?

mikek12004's Avatar
Familiar Sight
 
Join Date: Sep 2008
Location: Athens, Greece
Posts: 186
#1: May 5 '09
Is it possible to have two connections at the same time one at mysql and one at mssql or the 2nd connection will automatically close the 1st (cause I need data from both)
code green's Avatar
Expert
 
Join Date: Mar 2007
Location: England
Posts: 1,076
#2: May 5 '09

re: Connecting to both mssql and mysql?


Yes you can with no problems.
MySql uses mysql_.. functions wheras mssql uses mssql_....
Be careful not to confuse the two.
You can also have more than one connection to MySql or MsSql
at the same time, but you must always quote the relevant resource.
prabirchoudhury's Avatar
Familiar Sight
 
Join Date: May 2009
Location: Wellington, New Zealand
Posts: 152
#3: May 6 '09

re: Connecting to both mssql and mysql?


that you could have in the same place with different connection string

read more abt that in my blog



Prabir Choudhury’s blog
My Site
Reply