Solved

How to add a non-root user and login with the same in Navicat for MySQL?

Posted on 2011-03-21
2
598 Views
Last Modified: 2012-06-22
I have installed Navicat for MySQL on Window Server. In Navicat first i created a connection for localhost. After logging in with the localhost, i created a user for database "test" with username as "test" and host as "%". But when i try to log in with the user "test", it gives me error, "Access denied for user "test@localhost".

Is this the right way to create a user?

Also I am unable to login to MySQL remotely?

Do we need to do any settings for remote connections for MySQL?
0
Comment
Question by:aplusexpert
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Expert Comment

by:Shinesh Premrajan
ID: 35186865
Instead if % provide an IP adderss of the system.

Also after creating a user, always Flush the MySQL privileges, sometime a MySQL restart, but thats not needed here.

Hope this helps
0
 
LVL 60

Accepted Solution

by:
Kevin Cross earned 250 total points
ID: 35190362
Have you tried it using sql?
http://dev.mysql.com/doc/refman/5.1/en/create-user.html
CREATE USER 'username'@'%' IDENTIFIED BY 'password';

then ensure to GRANT permissions to specific databases|tables for the user if not going to grant *all* to basically create a remote dab without exposing root beyond localhost access which is a best practice.

You can limit this to an IP address if needed but that is not a requirement to get this to work.

Kevin
0

Featured Post

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
By, Vadim Tkachenko. In this article we’ll look at ClickHouse on its one year anniversary.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question