Page 1 of 1

Error connecting to mySQL on Amazon RDS

Posted: Sat Dec 07, 2013 4:34 am
by johnnytraq
Hi,

I'm trying out the demo version of Stimulsoft Reports.fx for flex version 2013.2.1700 from 2013.10.02
Flash Player 11.9 for Windows. The samples are very nice and this looks like the product for me. My problem is, I get an error#2031 when I tried to make a new MySQL Connection. I tried using the following MySQL connection string formats to connect to our Amazon RDS: Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword; and Server=myServerAddress;Port=3306;Database=myDataBase;Uid=myUsername;
Pwd=myPassword; but then I get the error code #2031. Am I using the correct format? Any Advice? Thanks.

Re: Error connecting to mySQL on Amazon RDS

Posted: Tue Dec 10, 2013 11:52 am
by Vladimir
Hello,

You are use the correct format of the connection string.

To communicate with the MySQL the asSQL module is used: http://code.google.com/p/assql/
Error # 2031 means socket error. Please let us know, you have the ability to grant access to the database for testing?

As well for the product Reports.Fx for Flex there is an alternative way to connect any data to the report using the code:
http://support.stimulsoft.com/index.php ... x-for-flex

Thank you.

Re: Error connecting to mySQL on Amazon RDS

Posted: Wed Dec 11, 2013 10:07 am
by johnnytraq
Hi,

I was able to resolve the issue by changing some settings in our amazon rds security settings. Thanks for replying.

Re: Error connecting to mySQL on Amazon RDS

Posted: Wed Dec 11, 2013 1:47 pm
by Vladimir
Hello,

Good news!
Let us know if you need any additional help.

Thank you.