FreePBX-2.5.2 on CentOS 5.3 with Asterisk 1.4.25-1 : mysql-error

I have followed the guide on this website to install FreePBX-GUI on top of my Asterisk-system.
Everything goes smooth until the last step :

[root@freepbx freepbx-2.5.2]# ./install_amp --username=asteriskuser --password=asterisk
Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Using username: asteriskuser
Using password: ********
Checking user…OK
Checking if Asterisk is running…running with PID: 21462…OK
Checking for /etc/amportal.conf…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.25.1
Checking for selinux…OK
Connecting to database…FAILED
Try running ./install_amp --username=user --password=pass (using your own user and pass)
[FATAL] Cannot connect to database

The mysql-deamon is running :
[root@freepbx freepbx-2.5.2]# service mysqld status
mysqld (pid 2462) is running…

What could be wrong that I don’t notice ?

Jonas.

Just try ‘./install_amp’ without the other stuff and see what happens.

I think you only need to use the username/password if you are re-installing FPBX.