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 !

About the author

Theo van der Sluijs Theo van der Sluijs (1975) is Lead Developer at Unitrust BV. He is also creator of "I Am Bored So I blog" / Gebruikmaar.nl / vanderSluijs.nl. He is a member of the Board of the Dutch Flex Usergroup and Goesweb.net. With his quote "Never Give Up, Never Surrender" (Actually stolen from Galaxy Quest) he fights his way through the day. Connect with him on Twitter.

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

One Response to “Flash Builder php connect error.”

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

    VA:F [1.9.3_1094]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.3_1094]
    Rating: 0 (from 0 votes)

Leave a Reply

QR Code
Donate

Like the information on my site? Please donate for a cup of coffee, or give a bit more for a cappuccino.

Twitter
Get Adobe Flash playerPlugin by wpburn.com wordpress themes