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

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 06-04-2008, 12:21 AM
Partner (VAR/HSP)
 
Posts: 48
Default Problem with MYSQL "mysql.host doesn't exist

Hi,

I'm encountering a problem with mysql that doesn't want to start. I went into the logs and here comes the fatal error :

[ERROR] Fatal error: Can’t open and lock privilege tables: Table ‘mysql.host’ doesn’t exist

Anybody has an idea to solve that ?

Thank you
Reply With Quote
  #2 (permalink)  
Old 06-04-2008, 12:30 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Some idea of Zimbra version and operating system might help. Is this an upgrade, new install or running installation? Did you search the forums for the words "privilege tables", do any of those results help?

Please update your profile with the details from zmcontrol -v
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 06-04-2008, 12:35 AM
Partner (VAR/HSP)
 
Posts: 48
Default

This is a new install, Zimbra 5.05 NE on Ubuntu 6.06 Server

I'm actually reading the 5 pages topic but doesn't seem to be a solution

i'm searching on the web aswell in case this is not a problem with Zimbra itself
Reply With Quote
  #4 (permalink)  
Old 06-04-2010, 09:37 AM
New Member
 
Posts: 4
Default

Howdy,

I am also having the same problem as described. I have a new install on a new RHEL5 server. zimbra release 6.0.6_GA_2330 (network edition)

zmcontrol status shows the mailbox is stopped, mysql.server is not running.

I can see an error in the /opt/zimbra/logs/mysql_error.log and I have the entry :
[ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
mysqld ended

any help or pointers in the right direction are always appreciated.

Best regards,
Monte.
Reply With Quote
  #5 (permalink)  
Old 06-04-2010, 12:58 PM
New Member
 
Posts: 4
Default

Quote:
Originally Posted by Krang View Post
Howdy,

I am also having the same problem as described. I have a new install on a new RHEL5 server. zimbra release 6.0.6_GA_2330 (network edition)

zmcontrol status shows the mailbox is stopped, mysql.server is not running.

I can see an error in the /opt/zimbra/logs/mysql_error.log and I have the entry :
[ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
mysqld ended

any help or pointers in the right direction are always appreciated.

Best regards,
Monte.

I resolved my own issue.
I removed the OS/YUM installed version of mysql, and dependencies. Then I reinstalled the zimbra server with the install.sh script which added it's own mysql server, which operates under the /opt/zimbra/db/mysql directory with it's own dependencies.

Now my zimbra server starts and runs as expected.

I strongly recommend that the zimbra team add a check for existing mysql databases, and stop the installation at that point. Some documentation warning of this in the install/quick setup guide would be helpful as well.

best regards,
Monte.
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.