Installation stops at "Connecting to database.."

Hi folks,
as per subject, I’m trying to install freepbx 2.4.0, on a FC7.
This is the installation output:

[[email protected] freepbx-2.4.0]# ./install_amp
Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking user…OK
Checking if Asterisk is running…running with PID: 16015…OK
Checking for /etc/amportal.conf…/etc/amportal.conf does not exist, copying default
Creating new /etc/amportal.conf
Enter your USERNAME to connect to the ‘asterisk’ database:
[asteriskuser]
Enter your PASSWORD to connect to the ‘asterisk’ database:
[amp109]
Enter the hostname of the ‘asterisk’ database:
[localhost]
Enter a USERNAME to connect to the Asterisk Manager interface:
[admin]
Enter a PASSWORD to connect to the Asterisk Manager interface:
[amp111]
Enter the path to use for your AMP web root:
[/var/www/html]

Enter the IP ADDRESS or hostname used to access the AMP web-admin:
[xx.xx.xx.xx] localhost
Enter a PASSWORD to perform call transfers with the Flash Operator Panel:
[passw0rd]
Use simple Extensions [extensions] admin or separate Devices and Users [deviceanduser]?
[extensions]
Enter directory in which to store AMP executable scripts:
[/var/lib/asterisk/bin]

Enter directory in which to store super-user scripts:
[/usr/local/sbin]

/etc/amportal.conf writtenAssuming new install, --install-moh added to command line
OK
Reading /etc/amportal.conf…OK
Checking for /etc/asterisk/asterisk.conf…OK
Reading /etc/asterisk/asterisk.conf…OK
Using asterisk as PBX Engine
Checking for Asterisk version…1.4.19
Checking for selinux…OK
Connecting to database…[[email protected] freepbx-2.4.0]

Of course, before you ask:
1)mysql is running
2)user is created and grant to databases are set.

So it exit without errors and withount installing anything.
I’ve checked into mysql logs and /var/log/messages without luck.
Any ideas?

Thanks to all