Problem of user root in myPhpAdmin

Post here if you need help with SQL.
Post Reply
lakc
Posts: 32
Joined: Fri Oct 21, 2011 6:05 pm

Problem of user root in myPhpAdmin

Post by lakc »

Hi,

Could some1 explain the purpose of having 127.0.0.1 and localhost in the Host column of mysql.user table?

Also, if i want to add another user how can i specify it 127.0.0.1 or localhost?

Thanks.
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Problem of user root in myPhpAdmin

Post by jacek »

You can remove the 127.0.0.1 one and still be able to connect, not really sure why both are in there :?

When you add a user there is a Host option, in the drop down you can select local only.
Image
Post Reply