Flash Builder php connect error.


Do you get a connection error in Flash Builder when connecting to a MySQL database with PhP and Zend ?

The error looks somewhat like this :


Fatal error: Maximum execution time of 60 seconds exceeded in D:\xampp\php\PEAR\Zend\Db\Adapter\Pdo\Abstract.php on line 0

Well, then you might have configured a wrong server port.

Here’s the solution

So when you are generating a sample for your data in your MySQL database you get an error message like this right ?
connection_error

The problem might be the port it is automatically selecting for you in the connection screen.

In my case it configured server port 8080 as my localhost is working with server port 8080 (under xampp).

But this server port is incorrect. The MySQL server port is actually port 3306.

So if you put that into your connection screen (like below) it wil work like a charm.
generate_connection

Happy flash building !

Theo van der Sluijs

Theo van der Sluijs (1975) is Software Development Manager at Bax-shop.nl. You can read more in dutch on his “Dutch Blog“, he also created Gebruikmaar.nl. He is a member of the Board of the Dutch Flex Usergroup and Goesweb.net.

Google+ Twitter LinkedIn 



VN:F [1.9.13_1145]
Rating: 9.0/10 (3 votes cast)
VN:F [1.9.13_1145]
Rating: -1 (from 1 vote)
Flash Builder php connect error., 9.0 out of 10 based on 3 ratings

Related Posts

One comment

  1. Очень полезный блог, автор всегда (почти) описывает актальные темы. Спасибо.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes