Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

can I connect to MySQL database

Avatar

Level 1
sorry for my English...

I'm absolutely new in Flex

can I connect to MySQL database?

I read here that I need to create a java class file and edit
an xml to create connection to oracle, can I connect to MySQL
server too, I think that the PHP-XML is too slow to work with lare
amounts of data... so can you post me MXML, the XML, and the JAVA
class file, with I will be able to send sql to mysql server and get
the response?

or FDS is a stand-alone SQL server?
5 Replies

Avatar

Level 3
There are no direct connections to the database. You need to
use either java, php, coldfusion, etc to create objects that do
your data base access. Flex accesses those components.

Avatar

Level 1
FDS is a stand-alone SQL server? can I connect directly to
it? or I have to create XML with PHP... I think it is too slow for
100-500 records...

Avatar

Level 3
Flex is not a SQL server.



The Flex SDK and compiler supports developing applications
that run in the Flash player.



Flex Data Services is deployed as a Java web application that
simplifies integrating Flex clients with Java server-side resources
(including interacting with SQL databases via Java).



FlexBuilder is an IDE for developing Flex apps.



I'd recommend spending some time browsing the Flex product
area on adobe.com.



Best,

Seth

Avatar

Level 1
My question was 1.) How to integrate MySQL into Flex Data
Services

2.) How to connect, select, update etc. (get and post the
data object) in Flex (with ActionScript)