simple fix:
Open your navicat or whatever you use for your SQL Database
I will use navicat as an example ok?
Open navicat click once on your connection
then click -Manage users-
Once window is open click on -Add user-
when the window will prompt, put the following:
Username: Root (unless you changed it)
Host: % <---- Thats right in the host field just put a percentage sign

Password: your Mysql Password
Confirm password: retype password
save.
Once done window will appear with global privileges, Click select All. Click save.
Done