Hello Guys. I am new to developing but I have been learning a lot of stuff for over a year now. Time has come that I should have a CMS set up on my laptop which is running Ubuntu 14.04.

I have followed an online guide at http://www.liberiangeek.net/2014/08/install-drupal-ubuntu-14-04/ to help me install Drupal

1. I had LAMP installed a few months ago. This guide helped me create a database in mysql by the name of drupaldb

2. It asked me to create a new user by the name drupaluser@localhost with this command

CREATE USER drupaluser@localhost IDENTIFIED BY 'password_here'

Now that I am on the set up page it is giving me this error.

Failed to connect to your database server. The server reports the following message: SQLSTATE[28000] [1045] Access denied for user 'drupaluser@localhost'@'localhost' (using password: YES).

Please help me out.

Comments

narendraR’s picture

edward.radau’s picture

Based on that error message, you didn't create the user properly.

Try something like:

CREATE USER 'drupaluser'@'localhost' IDENTIFIED BY 'password';

or

CREATE USER 'drupaluser'@'127.0.0.1' IDENTIFIED BY 'password';

naveedpaul’s picture

You are the best!!! Done.