View Single Post
  #10 (permalink)  
Old 02-26-2008, 03:00 AM
jon jon is offline
Junior Member
 
Join Date: Sep 2007
Posts: 25
Default Re: How to connecting to databases using SWFKit(SWFKit 2 and SWFKit Pro 2)

I'm trying to connect to a web based MySQL server but i cant figure out the syntax for the connection. I have;

Code:
var conn = new ActiveXObject("ADODB.Connection");
var str = "PROVIDER=sqloledb;Data Source=http://cell-lms.com;Integrated Security=SSPI;Database=celllms_romsuser;UID=celllms_trial;PWD=trial";
conn.Open(str);
What might a correct Data Source look like? Are there any other feilds I need?

Thanks
Jon
Reply With Quote