MySQL Forums
Forum List  »  Newbie

Add remote user
Posted by: martin
Date: July 22, 2005 09:08AM

Hi

I have two gentoo machines. "One" with a mysql server installed and "two" as a client. Now I need to connect to "one" from "two"

While sitting on "one" I can connect to it (localhost) as root. Then I try to create a user "mythman" like this:
*************************************************************
step ~ # mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4 to server version: 4.0.24

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> GRANT ALL PRIVILEGES ON *.* TO 'mythman'@'%'
-> IDENTIFIED BY 'myth' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)

mysql> quit;
Bye
*************************************************************

All looks fine - but when I try to connect from localhost I get

*************************************************************
step ~ # mysql -u mythman -p
Enter password:
ERROR 1045: Access denied for user: 'mythman@localhost' (Using password: YES)
*************************************************************

What is that ?? why cant I create an account ???

running: mysql Ver 12.22 Distrib 4.0.24, for pc-linux-gnu (i386)

Martin

Options: ReplyQuote


Subject
Written By
Posted
Add remote user
July 22, 2005 09:08AM
July 22, 2005 09:19AM
July 22, 2005 01:30PM
July 22, 2005 02:14PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.