DiscoStubacca
asked on
Connecting to MySQL Amazon RDS from VB.NET Visual Studio 2013
Hi,
I have installed MySQL for Visual Studio and the .net connector and I have tried this connection string in my app.config:
<add name="mysqlGrowercon" connectionString="Server=* ****;Port= 3306;Datab ase=Grower Reports;Ui d=Develope r;Pwd=**** *"
providerName="MySQL.Data.M ySQLClient " />
And I've tried adding the connection through the Data Source Configuration Wizard but either way I get:
There has been an error, The handshake failed due to an unexpected packet format.
I can connect okay to a SQL Server Amazon RDS just not this MySQL Amazon RDS.
Anyone know what I'm doing wrong?
Thanks,
Stuart
I have installed MySQL for Visual Studio and the .net connector and I have tried this connection string in my app.config:
<add name="mysqlGrowercon" connectionString="Server=*
providerName="MySQL.Data.M
And I've tried adding the connection through the Data Source Configuration Wizard but either way I get:
There has been an error, The handshake failed due to an unexpected packet format.
I can connect okay to a SQL Server Amazon RDS just not this MySQL Amazon RDS.
Anyone know what I'm doing wrong?
Thanks,
Stuart
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
String parameters were all right, it was to do with the rds vpc security group as you said.
Thanks,
Stuart