A database error has occurred : Accs refusal for user: ' ojs @ @ localhost' (password : YES )

I am trying to install OJS and at the last step I am getting following error"A database error has occurred : Accs refusal for user: ’ ojs @ @ localhost’ (password : YES )"

Kindly suggest

Do you have a right config.inc.php? There is an authentification issue - password (or username) is wrong.

Or you do not have rights to access mysql server from host with OJS.

Try for a test to connect with mysql root account, but only for a test.

Hi @Emmanuel_Toppo,

I think your problem might be related to that second “@” character. You shouldn’t enter anything containing a “@” into the database username or hostname fields on the setup form.

Regards,
Alec Smecher
Public Knowledge Project Team