I guess I can just bypass trying to access MySQL directly from Flex and just go through PHP proxy files to grab the data I need from the database using the HTTPService. I'll have to publish the Flex files to the server every time I update them, but I'm sure I'll get used to that since I have to do the same in DW for regular PHP files.
I'd appreciate any other solutions that may be more refined than brute-forcing it like I described.
1 person found this helpful
Personally I am always a bit leary about letting Flex Builder manage the connections to the database like this.
That said, here are a few great links describing using HTTPService, PHP, and MySQL:
If this post answers your question or helps, please mark it as such.
Yes, I came to the same conclusion about having Flex do any sort of direct connection to my database. I'll stick to using HTTPService and use PHP scripts as a proxy. I'd seen your answer to a similar question as a reply to other posts, but I'm not convinced yet that I need to go through JSON just yet. Still, I'll give you a Helpful Answer.
I'm open to any other suggestions.