If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > 2 root users. Should there only be 1?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-19-04, 15:19
skyhigh skyhigh is offline
Registered User
 
Join Date: Mar 2004
Posts: 6
Question 2 root users. Should there only be 1?

When I look at the mysql database in MySQL and SELECT the user, host and password from the user table i get:

user | host          | password             |
-----+-----------+--------------------+
root | localhost     | 6bbcd667dd97db3a  |
root | %              | 6bbcd667dd97db3a |
-----+-----------+-----------------------+


Why do I have 2 root users? Do i need both? Should I delete one? If so, which one?

thanks.....IAN
Reply With Quote
  #2 (permalink)  
Old 04-20-04, 08:25
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
Both are fine. the one with localhost under host means you can connect from the machine that mysql is installed on.
The other with % under host says you can connect to mysql from any machine as the root user. You can delete that one if you are only working on mysql on your own machine.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On