Link to home
Start Free TrialLog in
Avatar of DiscoStubacca
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;Database=GrowerReports;Uid=Developer;Pwd=*****"
            providerName="MySQL.Data.MySQLClient" />

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
Avatar of Shalom Carmel
Shalom Carmel
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DiscoStubacca
DiscoStubacca

ASKER

Hi,

String parameters were all right, it was to do with the rds vpc security group as you said.

Thanks,
Stuart