3

Possible Duplicate:
How to update a MySql DB using Flex

I want to connect flex with mysql

please help me

Community
  • 1
  • 1
Tushar Ahirrao
  • 12,669
  • 17
  • 64
  • 96

4 Answers4

1

You can't connect directly. See:
How to update a MySql DB using Flex
Accessing mysql from Adobe flex/AIR

Community
  • 1
  • 1
James Ward
  • 29,283
  • 9
  • 49
  • 85
0

Go via a PHP script as explained here.

Andy
  • 8,870
  • 1
  • 31
  • 39
0

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/

asawilliams
  • 2,908
  • 2
  • 30
  • 54
0

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

Kev
  • 118,037
  • 53
  • 300
  • 385
Amitd
  • 4,769
  • 8
  • 56
  • 82