Possible Duplicate:
How to update a MySql DB using Flex
I want to connect flex with mysql
please help me
Possible Duplicate:
How to update a MySql DB using Flex
I want to connect flex with mysql
please help me
You can't connect directly. See:
How to update a MySql DB using Flex
Accessing mysql from Adobe flex/AIR
This site (http://www.sephiroth.it/tutorials/flashPHP/as3flexdb/) has a swc and instructions on how to connect to a mysql database. I have used it before and its pretty easy to understand.
You can grab the latest code from here http://code.google.com/p/as3flexdb/
You can either choose Flex remoting for PHP AMFPHP or use A HTTPService to connect to
php file hosted on your server with returns you Db rows.
try googling - Connecting Flex Mysql
http://www.sephiroth.it/tutorials/flashPHP/as3flexdb/
http://cookbooks.adobe.com/post_Simple_MySQL_to_Flex-5561.html
http://www.actionscript.org/resources/articles/53/1/Integrating-Flash-and-mySQL/Page1.html