Access denied for user 'xxx'@'localhost'

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
pareto61
New Member
New Member
Posts: 2
Joined: Sat Jan 13, 2018 11:22 pm

Access denied for user 'xxx'@'localhost'

Post 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
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

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

Post 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).
pareto61
New Member
New Member
Posts: 2
Joined: Sat Jan 13, 2018 11:22 pm

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

Post 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.
Post Reply

Return to “CMSMS Core”