MySQLDumper-Board Forum Index Follow me on Twitter

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


 SELECT * INTO OUTFILE

Post new topicReply to topic
Author Message
Malko
knows MySQLDumper
knows MySQLDumper





Joined: 01 Nov 2006
Posts: 7


blank.gif

PostPosted: 2010-08-30, 20:22    SELECT * INTO OUTFILE Reply with quoteBack to top

Hallo Spezialisten!
Ich versuche aus einer bestimmten Tabelle einige wenige Zeilen zu Exportieren. Folgende Syntax:
SELECT * INTO OUTFILE '/var/www/sqldump/work/backup/mybackup.sql' FROM bb_threads WHERE fid=22


Die erzeugte Datei wird aber als Fremdformat angezeigt und lässt sich nicht zurückspielen. Vielleicht hat jemand eine Lösung.

Schönen Abend
Malko

Edit:
Sorry, falsches Forum. Bitte verschieben.

OfflineView user's profileSend private message    
Anzeigen











Posted:    Anzeigen Back to top


    
Jens_K
Moderator
Moderator




Age: 37
Joined: 04 Sep 2007
Posts: 1710
Location: Nähe Bielefeld


germany.gif

PostPosted: 2010-08-30, 20:36    (No subject) Reply with quoteBack to top

Natürlich wird die so erzeugte Datei als Fremdformat angezeigt, sie wurde ja nicht vom Dumper erstellt.

Und natürlich kann sie nicht zurückgespeichert werden, da sie ja keine INSERTS enthält sondern nur den Inhalt der ausgewählten Tabelle. Hast Du Dir schon mal ein vom Dumper erzeugtes .sql angeschaut und mit dem von Dir erstellten Export verglichen?

_________________
It's like math-camp all over again ... not ... that i've ever been to math-camp!
mein Blog

OfflineView user's profileSend private messageVisit poster's website    
Malko
knows MySQLDumper
knows MySQLDumper





Joined: 01 Nov 2006
Posts: 7


blank.gif

PostPosted: 2010-08-30, 21:08    (No subject) Reply with quoteBack to top

Hallo Jens,
ja, ich habe mir die Datei angesehen. Die Unterschiede könnten deutlicher nicht sein. Wink
Naja.....ich dachte es ist ohne allzu große Umstände möglich einen "selectiv Dump" zu erzeugen. War wohl nichts. Confused
Falls du nicht noch den ultimativen Tipp diesbezüglich hast, werde ich meine Daten manuell übertragen. Danke dir!

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 Couldn't execute "SELECT * FROM ... midodds Errors and questions 4 2011-07-31, 20:55 View latest post
No new posts Cron - select db's, not all? Hammerhead Errors and questions 3 2009-09-07, 16:00 View latest post
No new posts FIXED 418:select distinct 'spalte' fr... kayf Gelöst/Erledigt 15 2009-06-02, 17:51 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