Go Back   iTrader Forums » iTrader Chat » General Chit Chat » Databases MySQL| PostgreSQL| Oracle| SQL Server

Databases MySQL| PostgreSQL| Oracle| SQL Server Discuss database related issues.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 21st August 2008, 04:36 PM
Junior Member
 
Join Date: Aug 2008
Posts: 1
Credits: 0
Default importing a database error?

I exported a ipb 2.1.7 database and now im trying to import it in another epmty database on another host where ive installed ipb 2.1.7 (i intalled it and deleted the tables). While importing i got an error msg:ErrorSQL query: /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;MySQL said: #1100 - Table 'time_zone_name' was not locked with LOCK TABLESOnly 40 out of around a 100 tables were imported. I tried importing the tables one by one, but i got the same error msg when i tried to import the forum comments table...Im not very fimiliar with importing databases, and i have only basic skills... I know theres another way using SSH, but it looks kinda complicated, so i havent tried yet. Any suggestions? Leave ur email if u think i didnt give enough info or somethin, thanks a lot in advance!!
Reply With Quote
  #2 (permalink)  
Old 21st August 2008, 05:31 PM
Junior Member
 
Join Date: Aug 2008
Posts: 1
Credits: 0
Default

hmm it seems you should LOCK the tablesGo to your old host phpmyadmin or your mysql software there and go down to "SELECT TABLES" and select all tablesand LOCK tables once it has been lockedthen go to export on top bar and export it; it should work if not then try this time with ALL TABLES UNLOCKEDalso try optimize via phpmyadmin it may fix some errors































www.ottohost.com
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:14 PM. Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
Ad Management by RedTyger


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72