Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating new users

Status
Not open for further replies.

Noip

IS-IT--Management
Apr 25, 2002
240
MU
Hi,

I am a newbie to MySQL and I have just setup a Linux box and start the mysql daemon. I have tried to create a user 'dbuser' with a password 'xxxxx' using the following:

shell> mysql --user=root mysql
mysql> GRANT ALL PRIVILEGES ON *.* TO dbuser@localhost
-> IDENTIFIED BY 'xxxxx' WITH GRANT OPTION;
mysql> GRANT ALL PRIVILEGES ON *.* TO dbuser@"%"
-> IDENTIFIED BY 'xxxxx' WITH GRANT OPTION;

I have not created any database yet. I want to connect from another PC on the same LAN using MySQL front to the table 'test'. The error on the MySQL front PC is:

MySQL Error
Connection failed:
2013 - Lost connection to MySQL server during query

I have not altered anything on the MySQL server except the above mentioned.
I have no firewall set between!
Please help!
ALso is the password being created for the user: xxxxx or 'xxxxx'?

Thanks for any advice!
 
Yes,
The linux box is RH8.0 and the client PC is win98
 
thanks,

but how can i check on the server whether it likes the user just created
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top