Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-03-2009, 09:05 AM
Intermediate Member
 
Posts: 17
Default MySQL root password (2 different ones?)

Hello everybody,

As i got deeper into my studies on ZCS, i discovered some strange things. For example, at my 'user' table in the 'mysql' database (which controls the access rights), i have two different entries for 'root', one for host 'localhost' and the other one for host 'localhost.localdomain'. I already found in MySQL's docs that this controls different types of connection (first one for UNIX socket, and second one for TCP). But what i can't understand is why are these passwords different (at least the encrypted outputs i see when i do 'select password from user' are different). I ran this script that outputs the 'mysql_root_password' (zmsetvars) and i can obtain the password for host 'localhost'. But how do i get the password for 'localhost.localdomain'? And even more important, what is it used for?

I hope someone can explain me that...

Thanks a lot,
Rodrigo
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.