MySQLDumper-Board Forum Index Follow me on Twitter

Portal  •   Forum  •  Downloads  •  Profile  •  Search   •  Register  •  Log in to check your private messages  •  Log in  •  


 error on restore

Post new topicReply to topic
Author Message
gapa
MySQLDumper-Translator
MySQLDumper-Translator





Joined: 10 Sep 2010
Posts: 7


slovenia.gif

PostPosted: 2011-11-15, 13:00    error on restore Reply with quoteBack to top

Hello,
I am trying to restore database which was created with phpmyadmin. Have tried with sql and I also tried to compress this file with 7-zip to sql.gz. I am getting this error:
Array
(
[max_zeit] => 22
[startzeit] => 1321354755
[xtime] => 1321354732
[fileEOF] =>
[actual_table] => actions
[offset] => 0
[aufruf] => 1
[table_ready] => 1
[part] => 0
[do_it] =>
[errors] => 0
[notices] => 0
[anzahl_eintraege] => -1
[anzahl_tabellen] => -1
[filename] => baza_remote_11_10_26.sql
[actual_fieldcount] => 0
[eintraege_ready] => 0
[anzahl_zeilen] => 100
[summe_eintraege] => 0
[erweiterte_inserts] => 0
[flag] => -1
[EOB] =>
[dump_encoding] => utf8
[compressed] => 0
[tables_to_restore] =>
[filehandle] => Resource id #13
[tablelock] => 0
)

Sql: REPLACE INTO `actions` (`aid`, `type`, `callback`, `parameters`, `label`) VALUES
Erweiterte Inserts: 0
unknown SQL-Command: ('comment_publish_action', 'comment', 'comment_publish_action', '', 'Publish comment'),

REPLACE INTO `actions` (`aid`, `type`, `callback`, `parameters`, `label`) VALUES

What could be a problem? And it would be hard to get database exported again with mysqldumper.

best regards,
gapa

OfflineView user's profileSend private message    
Anzeigen











Posted:    Anzeigen Back to top


    
DSB
Developer
Developer




Age: 41
Joined: 30 Apr 2004
Posts: 16067
Location: Reichenberg bei Würzburg


germany.gif

PostPosted: 2011-11-15, 15:31    (No subject) Reply with quoteBack to top

In your Backup file replace all occurances of "REAPLCE INTO" with "INSERT INTO".
_________________
Gruß / Greetings, DSB

Teigwaren heißen Teigwaren, weil sie Teig waren.
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.

OfflineView user's profileSend private messageSend e-mailVisit poster's website    
gapa
MySQLDumper-Translator
MySQLDumper-Translator





Joined: 10 Sep 2010
Posts: 7


slovenia.gif

PostPosted: 2011-11-15, 18:08    (No subject) Reply with quoteBack to top

I got one step further. I don't get that error but new one. This is Drupal database. How can I bypass this problem. I know I started to use MySQLDumper because it was working when all the others failed right on this kind of problem.

Quote:

MySQL-ERROR
MySQL says:
MySQL server has gone away

Error in Query:
CREATE TABLE IF NOT EXISTS `cache_page` ( `cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.', `data` longblob COMMENT 'A collection of data to cache.', `expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry should expire, or 0 for never.', `created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry was created.', `serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is serialized (1) or not (0).', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Cache table used to store compressed pages for anonymous...';


Fatal error: Couldn't create table or view `cache_page´

OfflineView user's profileSend private message    
gapa
MySQLDumper-Translator
MySQLDumper-Translator





Joined: 10 Sep 2010
Posts: 7


slovenia.gif

PostPosted: 2011-11-15, 21:11    (No subject) Reply with quoteBack to top

I manage to solve this problem with help from this site: http://drupal.org/node/259580
I am hosting on VPS server.

OfflineView user's profileSend private message    
Display posts from previous:      
Post new topicReply to topic


 Jump to:   


Show permissions
Similar topics
Topic Author Forum Replies Posted
No new posts [solved] Restore:Can't create table '... rob40 Gelöst/Erledigt 6 2012-05-13, 20:41 View latest post
No new posts Restore Issue - Multifile restore stops znmnky Errors and questions 6 2012-04-03, 21:51 View latest post
No new posts Backup Error Vengeance66 Errors and questions 4 2012-04-02, 16:52 View latest post
No new posts Dump restore stuck anthonyinit Errors and questions 4 2012-03-31, 04:45 View latest post
No new posts MySQL-ERROR / nach phpmyadmin passwor... stone_22 MySQLDumper 1.24 4 2012-03-31, 00:40 View latest post

 
CrackerTracker © 2004 - 2012 CBACK.de

Powered by Orion based on phpBB © 2001, 2002 phpBB Group
CBACK Orion Style based on FI Theme
All times are GMT + 2 Hours

phpBB SEO