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 05-22-2007, 07:24 AM
New Member
 
Posts: 4
Question How to connect to other MYSQL server in zimbra

I have installed zimbra in a server. Now I want to have separate mysql database at other server.

How to I edit the mysql connect to another server? I have edited in /opt/zimbra/conf/my.cnf and /opt/zimbra/conf/my.logger.cnf to point to other mysql server. I just change the bind-address=localhost to IP address

after i restart then mysql cant connect.
I am wondering if I have leave out anything. Anyone have done this before?

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 05-22-2007, 07:27 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

You are just trying to connect to another MySQL instance on another server? If that's what you're trying to do then you won't be able to do it, ZImbra requires it's own copy of MySQL.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 05-22-2007, 07:27 AM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by limleechin View Post
I have installed zimbra in a server. Now I want to have separate mysql database at other server.

How to I edit the mysql connect to another server? I have edited in /opt/zimbra/conf/my.cnf and /opt/zimbra/conf/my.logger.cnf to point to other mysql server. I just change the bind-address=localhost to IP address

after i restart then mysql cant connect.
I am wondering if I have leave out anything. Anyone have done this before?

Thanks in advance.
Are you trying to add a separate mysql instance to the box, or add tables to the existing mysql database? It's generally not a good idea to move the Zimbra database to a different instance because Zimbra's upgrade scripts might do weird things, and you might hit performance issues. As for a seperate mysql instance, I have one running on my test box, and because the ports are different, there is no problem with that. Adding tables to the Zimbra mysql database also leaves you at the risk of upgrade scripts, and performance problems, but it's possible.
Reply With Quote
  #4 (permalink)  
Old 05-22-2007, 09:01 PM
New Member
 
Posts: 4
Default

Yes, I am trying whether can put the mysql database at another server to increase performance.

Have another done this before? thanks
Reply With Quote
  #5 (permalink)  
Old 05-22-2007, 11:46 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

You don't need to move mysql to improve performance. If you have performance problems I'd look elsewhere for the problem. What's the specification of your hardware and is there anything else running apart from Zimbra?
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 05-23-2007, 05:28 AM
Moderator
 
Posts: 6,237
Default

Your current hardware specs and user group size (max active simutaneously & total users) will help us the most.

You could 'work your way down' this chart:

Zimbra Collaboration Suite Configuration Options
Small
Medium
Large
Very Large
All ZCS components installed on one server.
See the Zimbra Installation Quick Start for installation instructions.
  • Zimbra LDAP and Zimbra message store on one server
  • Zimbra MTA on a separate server.
  • Possibly include additional Zimbra MTA servers configured
  • Zimbra LDAP on one server
  • Multiple Zimbra mailbox servers
  • Multiple Zimbra MTA servers
  • Zimbra LDAP server as master
  • LDAP replicas
  • Multiple Zimbra mailbox servers
  • Multiple Zimbra MTA servers

you really shouldn't need it at your stage but it's out there:
Performance tuning for large deployments
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.