mysqladmin - MySQL root@localhost, root@127.0.0.1 and root@::1 have different passwords - is it normal? -


after setting password command:

mysqladmin.exe --user=root password <my_password> 

i see 3 rows in user table "root" user: enter image description here http://i.stack.imgur.com/y4rkd.jpg , root@localhost has password, while root@127.0.0.1 , root@::1 not have password.

does mean need set password 3 times each of these rows? i.e.:

mysqladmin.exe --user=root host=localhost password <my_password> mysqladmin.exe --user=root host=127.0.0.1 password <my_password> mysqladmin.exe --user=root host=::1 password <my_password> 

is normal?

yes, different accounts. , yes, every account can have own password. can check details account names here.
if don't set host mysql utilities (such mysqladmin), default connect localhost. so, connected under user root@localhost , changed password user only. 2 other root users must change password explicitly.


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -