• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

MySQL connection not working

Explorer ,
Nov 11, 2010 Nov 11, 2010

Copy link to clipboard

Copied

java.io.FileNotFoundException:  http://localhost/burrito/burrito/bin-debug/gateway.php


When I try to create a data service to a MySQL data source using the "Connect to Data/Service.." I get this error. Is this supposed to work in this preview release?

I don't have any trouble creating a Coldfusion Data/Service.

I get the same error when I try to connect to a PHP Data/Service that is working in Flash Builder 4.

If it is supposed to work, what did I miss?

Views

2.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 12, 2010 Nov 12, 2010

Copy link to clipboard

Copied

I had this problem before in using PHP data services. The fix for my problem was to edit the file amf_config.ini

to set the zend_path =C:\www\ZendFramework\library

This tells Flex where to find your ZendFramework library which makes your PHP data connection for your flex code.

You may also need to set the webroot as in webroot =C:/www/flex4/DBWorkspace/DBaccess

The webroot should be the path to your current project workspace.

The amf_config.ini file is listed under Flash Builder's package exlporer in bin-debug then services.

I hope this helps, it solved my problems.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 24, 2011 May 24, 2011

Copy link to clipboard

Copied

I Just wanted to throw in my 2 cents.

This may help some one in the future.

I was getting the error  java.io.IOException:

turns out that my virtual path was not being compenstated for

when I set it up.

the server location was not validating occording to the FLEX rules

my file is located here

C:\wamp\www\metrix

and my v-host is this

http://metrix.localhost/

because the validation button did not work did not validate the config

I changed this=>C:\wamp\www\metrix to this C:\wamp\www\

This messed everything up and cost me many hours to discover my error

you can correct this

package(right click)->preferances->Flex Server

Don't worry about the validation configuration if you know it is correct!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 14, 2011 Jun 14, 2011

Copy link to clipboard

Copied

Did you get this to work, as i am having the same issue, and have tried the changes refered to below, but still no JOY!!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 15, 2011 Jun 15, 2011

Copy link to clipboard

Copied

Did you get it figured out?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 11, 2011 Nov 11, 2011

Copy link to clipboard

Copied

LATEST

I had that issue last night and realized that my apache service had been shutdown.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines