Flex application. I work in adobe flash builder 4.5 I put the connection to the mysql database via php. When setting up everything went well. (base b server is installed with Denver package) When launching the application, an error occurs:

Channel disconnected Channel disconnected before an acknowledgement was received 

Where could be the reasons for this error?

  • When setting the type of the returned data I get: An error occurred while invoking the operation. Check the input or server code and retry calling the operation. Reason: Warning: mysql_query () [function.mysql-query]: Access denied for user '' @ localhost '(using password: NO) in ... Warning: mysql_query () [function.mysql-query]: A link to the server could not be established in ... - Getans
  • So maybe different users, is there a localhost user in the database? - ShockWave
  • The problem was solved. In the code, the connection string to the database was omitted ... / facepalm. Spent 2 hours wasted. In any case, thanks for the help - Getans
  • It's my pleasure. - ShockWave

1 answer 1

  • Check the rights and account registered in the database.
  • View the logs on the server side.
  • Is it an AIR or Web application?
  • Is it an AIR or Web application? - web - Getans
  • If the server and the application are running in different domains, for example, "http: \\ localhost \" and "192.168.0.1: 8080 \" then strong problems are quite possible. - ShockWave