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

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 02-02-2010, 05:16 AM
Special Member
 
Posts: 119
Exclamation got error while running query

Dear All,

Error : Got error -1 from storage engine

This is the error while i am executing the delete query in zimbra mysql db..

I am logged in as zimbra user in mysql..

Let me waiting for your idea's ?

Thanks
Reply With Quote
  #2 (permalink)  
Old 02-02-2010, 05:46 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by jayarajmohan View Post
Let me waiting for your idea's ?
My idea would be not to delete records from, nor modify in any way, the Zimbra MySQL database as you'll most likely break your system and any modification will probably not be retained during any upgrades. What exactly are you trying to do (and why) and what are the errors in the log files?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 02-02-2010, 06:41 AM
Special Member
 
Posts: 119
Default

I need to take backup by own code.. cant take backup/restore from the wiki method.. so i planned to take it by my php code.. i can connect db and can exe selection query .. but only i cant run delete row from the table..

I have full rights for my user in mysql.. but still same error..

can u resolve it ?
Reply With Quote
  #4 (permalink)  
Old 02-02-2010, 06:52 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by jayarajmohan View Post
I need to take backup by own code.. cant take backup/restore from the wiki method.. so i planned to take it by my php code.. i can connect db and can exe selection query .. but only i cant run delete row from the table..
You still haven't explained why you're deleting data from the tables.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 02-02-2010, 10:21 PM
Special Member
 
Posts: 119
Default

i need to restore the old data to the user mailbox. So i want to delete the unwanted mails.. thats y i need to delete ..
Reply With Quote
  #6 (permalink)  
Old 02-03-2010, 03:34 AM
Special Member
 
Posts: 119
Exclamation ERROR 1030 (HY000): Got error -1 from storage engine

While i am executing the query (update query) in zimbra mysql i got this error

ERROR 1030 (HY000): Got error -1 from storage engine

What it means ?
Reply With Quote
  #7 (permalink)  
Old 02-03-2010, 03:35 AM
Moderator
 
Posts: 7,911
Default

What query were you trying to perform on the Zimbra MySQL instance ? I would recommend you also check /var/log/messages for any errors as well.
__________________
Reply With Quote
  #8 (permalink)  
Old 02-03-2010, 03:41 AM
Special Member
 
Posts: 119
Default

i didnt see any mysql error in the /var/log/messages ..

just i want to update the mail_item table.. like i want to run :

update mail_item set subject='testingquery' WHERE id=4068
Reply With Quote
  #9 (permalink)  
Old 02-03-2010, 03:47 AM
Moderator
 
Posts: 7,911
Default

Do you have anything in /opt/zimbra/log/mysql_error.log ?
__________________
Reply With Quote
  #10 (permalink)  
Old 02-03-2010, 04:06 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Quote:
Originally Posted by jayarajmohan View Post
i didnt see any mysql error in the /var/log/messages ..

just i want to update the mail_item table.. like i want to run :

update mail_item set subject='testingquery' WHERE id=4068
Don't create duplicate threads in the forums on the same topic, it makes it difficult to follow-up your posts - I'll merge the threads.
__________________
Regards


Bill
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.