Acces denied for user ''@localhost (using passwrod yes)

Good evening,
I’m installing freePBX on ubuntu 12.04 but I was stopped at this step :
Configure Asterisk database in MYSQL***
export ASTERISK_DB_PW=amp109
mysqladmin -u root create asterisk
mysqladmin -u root create asteriskcdrdb
mysql -u root asterisk < SQL/newinstall.sql
mysql -u root asteriskcdrdb < SQL/cdr_mysql_table.sql
Set permissions on MYSQL database***
mysql -u root -e "GRANT ALL PRIVILEGES ON asterisk.* TO asteriskuser@localhost IDENTIFIED BY ‘${ASTERISK_DB_PW}’;"
mysql -u root -e "GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO asteriskuser@localhost IDENTIFIED BY ‘${ASTERISK_DB_PW}’;"
mysql -u root -e “flush privileges;”

I have this error:
Acces denied for user ‘’@localhost (using password yes)
I have tested many solutions but no success!!

You need to enter your root password for mysql. You’ve set one.

How can I enter password?
The password of mysql is “toor”.
for user: root
password toor

Bsr,
Est ce que je dois travailler sur la version Server d’Ubuntu.

Read the rules in the wiki, failing that try :-

./install_amp --help

put your toor where it belongs.

I will try to install Ubuntu Server because I have Desktop.

It will remain a problem on any version until you either remove the root password or follow the rules.

Finally, I’ve installed successfully the Web interface of FreePBX. Now, can I change the design of this interface? Or it’s not permitted?

You can do anything you want within the terms of the license you implicitly accepted by installing the softwares. Basically, do not remove any copy-writes.