This situation is a bit difficult to explain, but basically I am trying to connect to a separately hosted MySQL server from a Windows server but I'm running into difficulty getting the connection string right.
- Server 1: Where the main page resides, this server normally uses MSSQL
I have FTP access and Remote Desktop access to this server but no installation rights for the ODBC driver.
-- Server 2: Secondary site with a MySQL database containing some info I need to reference
I have FTP and normal web-based control over this one with full admin rights right up to the reseller account above the site-admin.
I make pages for Server 1 on a regular basis, but now I need to access some info from Server 2's SQL database for a page on Server 1.
Server 2 is set up to allow remote SQL access to Server 1's IP (I have tested this using my IP and MySQL Query Browser to connect and it works).
My problem seems to be the connection string. I can't seem to get it right because either Server 1 doesn't have the MySQL ODBC driver installed or Server 2 isn't responding to the only requests Server 1 seems to work with because they're for a MSSQL connection.
This seemed to be the most promising:
But brought back:Code:Provider=MS Remote; Remote Provider=sqloledb; Data Source=webxx.extendcp.co.uk; Server=webxx.extendcp.co.uk; Port=3306; Database=webxx-ppd; Uid=xxxxxx; Pwd=xxxxxxx;
Code:RDSServer.DataFactory error '80070005' RDS Server Error: The server has denied access to the default RDS Handler used to access this page. See the Server Administrator for more information about server security settings.
Give me actual SQL to do and I'm fine but I'm not too hot on the details of the connections so any suggestions would be very helpful!