Solved

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

Posted on 2011-03-21
2
590 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
2 Comments
 
LVL 17

Expert Comment

by:shinuq
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 59

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Loading csv or delimited data files to MySQL database is a very common task frequently questioned about and almost every time LOAD DATA INFILE comes to the rescue. Here we will try to understand some of the very common scenarios for loading data …
Introduction In this installment of my SQL tidbits, I will be looking at parsing Extensible Markup Language (XML) directly passed as string parameters to MySQL 5.1.5 or higher. These would be instances where LOAD_FILE (http://dev.mysql.com/doc/refm…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

706 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now