New user mySQL

My new created user in mysql can't access. Any idea ?

mysql> create user 'scigadm'@'localhost' identified by 'xxxxx'


mysql> select host, user from user;
+----------------+------------+
| host           | user       |
+----------------+------------+
| localhost      | sciadm    |
+----------------+------------+
29 rows in set (0.00 sec)

-bash-3.2# mysql -u scigadm -pxxxxx
ERROR 1045 (28000): Access denied for user 'scigadm'@'localhost' (using password: YES)
AXISHKAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
Did you create a password for that user?
0
arnoldCommented:
You need to list all, if this user is tied to a database, the database name is part of the authentication and must be included.
0
AXISHKAuthor Commented:
do you mean i need to grant permission to the user in mysql ?

How can I change the user account such that no password is asked for login ?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

arnoldCommented:
Do not set a password for the account and do not use the -p.

Make sure to limit this user connection from localhost only.
0
AXISHKAuthor Commented:
it has been set already, Should I remove the password right now ?

Tks
0
AXISHKAuthor Commented:
On more check, for the host field in Mysql\user table, will this field be matched with the host from the remote connection ? In case the userA is running on ServerA connect to mySQL on ServerA, will the user appear as usera@serverA in MySQL ?

Tks
0
arnoldCommented:
The user/host you listed is only allowed a connection from localhost

Yes, you need to create a login for user@serverA or user@% to allow user access from serverA or from any host.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AXISHKAuthor Commented:
Tks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.