Page 1 of 1

Access denied for user 'xxx'@'localhost'

Posted: Sun Jan 14, 2018 1:13 am
by pareto61
I have been running Wordpress under localhost using XAMPP for some years.

I am now trying to set up cmsms to run under XAMPP but at step 4, I get the message "Access denied for user 'xxx'@'localhost' (using password: YES)". I have set up the user with full privileges under the database cmsms.

Database cmsms is under xampp\htdocs\ as for wordpress. As I have found another folder for cmsms under xampp\htdocs\cmsms, I presume that this was set up by the install process and am unsure whether my problem relates to this.

Any assistance would be appreciated as I am anxious to set up this application.

Bryan

Re: Access denied for user 'xxx'@'localhost'

Posted: Mon Jan 15, 2018 9:42 am
by velden
The error is clear: the user has no rights to connect to the database.
Database cmsms is under xampp\htdocs\ as for wordpress
Databases don't exist in those folders. Typically one creates a database from within http://localhost/phpmyadmin (in a xampp setup). Make sure to have a user with a password (iirc the installer doesn't allow empty passwords).

The installation process of CMSMS is usually very simple but database needs to exist and be accessible. Should work in xampp too (I use it often).

Re: Access denied for user 'xxx'@'localhost'

Posted: Thu Jan 18, 2018 3:26 am
by pareto61
Thanks for the prompt reply, velden.

I have not yet resolved the password issue but will keep at it.

Thanks for the comments on the location of databases.