MySQL Error: Access denied for user

6 posts by 2 authors in: Forums > CMS Builder
Last Post: May 7, 2015   (RSS)

By Twocans - May 6, 2015

Hello,
I am trying to start a new cms, I have followed each of the instructions here

http://www.interactivetools.com/docs/cmsbuilder/install.html

but I keep getting the following when completing all the details.

MySQL Error: Access denied for user 'test_username'@'localhost' to database 'londontest_db'

(both username and db name above have been changed)

I can connect to the site and the database user cute and dreamweaver no problem. 

My php version s 5.5 and localhost is localhost

What is the most common reason for the denial. 

regards

Kenny

By Damon - May 6, 2015

Hi Kenny,

Check that the database user has full permissions to create, delete, update etc. 

If the username and password are correct, this is usually thing to check.

Let me know if this was it or not.

Thanks!

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By Damon - May 6, 2015 - edited: May 6, 2015

Hi again,

The database user permissions you need to set will be through your hosting control panel. 

Take a look at his hostgator article to Define a User's Privileges:
http://support.hostgator.com/articles/cpanel/how-do-i-create-a-mysql-database-a-user-and-then-delete-if-needed#privileges

For the user select ALL PRIVILEGES.

Let me know if this works for you.

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By Twocans - May 7, 2015

Damon thank you, 

That worked.
On creating the cms do I go back and turn off these permissions ? or thats it I leave them like this.

regards

Kenny

By Damon - May 7, 2015

Leave the database user permissions as is.

CMS Builder needs these permissions to read, write and delete data from the database.

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/