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 09-25-2006, 01:30 AM
Active Member
 
Posts: 40
Unhappy zimbra mysql port closed (backup)

Hi I want to make a mysqldump in differente host for a zimbra backup, but the port is closed for external connections:

Code:
 /opt/zimbra/mysql/bin/mysqldump -h 192.168.0.34 -u zimbra --all-databases --socket=/opt/zimbra/db/mysql.sock --password=asfasdfasdfasdf > zimbra.sql
Code:
nmap 192.168.0.34 -p 7306

PORT     STATE  SERVICE
7306/tcp closed unknown

I looked for config files like my.conf, but nothing talks about external hosts (like pg_hba.conf of a postgres)

Any ideas? thanks

Last edited by koby; 09-25-2006 at 03:29 AM..
Reply With Quote
  #2 (permalink)  
Old 09-25-2006, 10:16 AM
Zimbra Employee
 
Posts: 604
Default

mysqld is bound to localhost by default see /opt/zimbra/my.cnf

Once you change it to bind to an ip address you needed to update the privilege tables. Here's a reference to the MySQL GRANT command.
http://dev.mysql.com/doc/refman/4.1/en/grant.html
Reply With Quote
  #3 (permalink)  
Old 09-25-2006, 11:46 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

might be easier and more secure to do the dump through ssh?
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.