Remote DB Access
I am having a bit of trouble accessing my database remotely from my home pc in mysql workbench.
Set the bind address to 0.0.0.0 in mysqld.cnf
GRANT ALL ON . TO ‘userName’@'localhost’;
GRANT ALL ON . TO 'userName’@’%’;
sudo /etc/init.d/mysql restart
In the db my user appears with a % under host meaning they have remote access but I still get access denied for 'userName’@'localhost’ in workbench.