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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding more host???

Status
Not open for further replies.

tempsup

MIS
Sep 10, 2003
26
0
0
GB
Hi,

can i add more host to mysql other than the default local host, or i can only add additional users???
PLease help.
Thanx a lot.
 
use the GRANT command

example


GRANT ALL ' ALL stands for all privileges
ON dbname.* '* stands for all tables
to user@'hostname'
IDENTIFIED BY "password"

if the username does not exist in the user table MySQL will create a new user.

The hostname can also be an IP address.


I recommend you read this


Bye

QatQat



Life is what happens when you are making other plans.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top