Access denied for user '****** ******'@'localhost' to database '*'

From ClarolineDoc

In installation process

error

Warning ! [1044] - Access denied for user '******_******'@'localhost' to database 'Claroline'
Error on creation Main database : localhost
Fix this problem before going further 

Solution

You don't have the right to create a database called 'Claroline'.

At step 4, specify the correct database name.