user3259951 user3259951 - 1 year ago 86
MySQL Question

#1044 - Access denied for user 'someusr'@'localhost' to database 'somedb'

I'm trying to give admin rights to MySQL user using this SQL statement ran on cpanel>phpmyadmin>SQL

GRANT ALL PRIVILEGES ON somedb.* TO 'someusr'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;
but it's giving user denied error:

1044 - Access denied for user 'someusr'@'localhost' to database 'somedb'

We are trying to Integrate our website "" MySQL database with Peachtree accounting software using Dell Boomi AtomSphere.

As per Dell Boomi forums. They replied in the link.

There is no global privileges option on the myphpadmin page. There is only data and structure privileges in Cpanel>MySQL Database but no Administration privileges as shown in this video @ 8:27 sec;

I tried using SHOW GRANTS FOR 'someusr'@'localhost';

It's showing:

Grants for someusr@localhost

GRANT USAGE ON . TO 'someusr'@'localhost'

What should I do?

Answer Source

Actually there are two steps to solve this problem if you are using Cpanel. First step is to go to Remote MySQL and add your IP address of your network.You can check your IP by going to or add % percent sign so that anyone can access it but this is not recommended because of security issues. Secondly go to the MySQL Database and grant all user privileges like select, update, delete etc. Now you cannot get any user denied error using dell boomi.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download