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 09-23-2011, 10:58 AM
Starter Member
 
Posts: 2
Default MySql Query for All Calendar items

Long story short, I'm trying to write a SQL query to select ALL the appointments, but based on how the databases are split up into the mailbox groups, I'm not quite sure how I'd accomplish this. It has to be done with a query because of our analytics software that will be connecting to it.

Does anyone have an idea on how I'd do this, or if you can point me in the right direction it'd be greatly appreciated. Thanks.
Reply With Quote
  #2 (permalink)  
Old 09-23-2011, 12:23 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Is this what you're looking for: Account mailbox database structure - Zimbra :: Wiki
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 09-23-2011, 12:59 PM
Starter Member
 
Posts: 2
Default Close

That's close to what I'm looking for, but not quite there. I can't figure out though how I'd actually query for all calendar events at once though. With some events being on mboxgroup1 through mboxgroup99, I don't know how I'd do a
SELECT * FROM mboxgroups.appointment WHERE type = 11;

without doing SELECT * FROM mboxgroup1.appointment, mboxgroup2.appointment, ... mboxgroup99.appointment;
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.