I have virtual server hosted and this is my configuration of VPS..
ubuntu 14.04 with tomcat 8 and java 8 and i installed mysql 5.5.40
I created a new user in it with
CREATE USER 'ram'@'localhost' IDENTIFIED BY '*****';
GRANT ALL PRIVILEGES ON * . * TO 'ram'@'localhost'
;
FLUSH PRIVILEGES;
upto this all okay and executed perfectly..
I want to connect to this database from mylocal machine using mysql Workbench
I give ip and username it says
unknown mysql server host 'ip' (2)
I know this question is already asked so many times and i tried all of that answers,but none worked for me,so only i raised this question again here..
Already i asked in stackoverflow and came here