0

I have an issue that when i try to connect to a database in cleardb it gives me this error:

1044 - Access denied for user 'root'@'%' to database 'test'

when it connect via navicat and try to upload new test.sql file to update my database i get the same error.

is there a way to do it?

Mohammad AL-Raoosh
  • 721
  • 1
  • 12
  • 32

1 Answers1

1

Default root user in MySQL does not have permissions to access outside local host, so you should create a user to be able to do this like:

CREATE USER 'someuser'@'%' IDENTIFIED BY "your_password";
GRANT ALL PRIVILEDGES ON test.* TO 'someuser'@'%';

Then try connecting with this user

Bolovsky
  • 538
  • 7
  • 12