php forum
php mysql forum
php mysql smarty
 
Topic Options
#226651 - 10/21/02 11:32 PM ahhhhhhhh!!!!
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan

   ahhhhhhhh!!!! to Del.icio.us Add to del.icio.us
  Digg ahhhhhhhh!!!! Digg it
WHY WHY WHY, it always happens like this. I do backups of my db once every few days, never ONCE encountered a problem. Well, tonight, I announced to everyone I was moving to our new dedicated server at midnight. <br /><br />So, I closed the forums, went into SSH and typed my typical mysqldump command.. and get this!!!!<br /><br /><pre><font class="small">code:</font><hr>mysqldump: Out of memory (Needed 8164 bytes)<br />mysqldump: Got error: 2008: MySQL client run out of memory when retrieving data from server</pre><hr><br /><br />AHHH!!!!! I should have been already live and on my new server, but this all of a sudden happens. Never once in over a year seen this problem, and of course it happens at the worst possible time.<br /><br />So, just wondering, will this go away when the server starts using less ram, or is it one of those things the server may need a reboot to free everything up? Last time a server with this host crashed they disabled my database saying it was my fault! I just want to get my DB off from their server and run, I'm sick of this crap. <img src="/forum/images/graemlins/frown.gif" alt="" />

Top
#226652 - 10/22/02 08:28 AM Re: ahhhhhhhh!!!! [Re: palmen]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Wow, that was stupid. I was up until 4am waiting for it to work, trying other methods... NOTHING. So I go to bed, wake up first thing and try again, it still didn't work!<br /><br />finally, for fun I tried using the --quick flag. And WTF it worked! (I think) I tried the word quick as a joke, then after looking it up it may have really been what I needed *shakes head*

Top
#226653 - 10/22/02 12:46 PM Re: ahhhhhhhh!!!! [Re: palmen]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
That could make sense.<br /><br />The mysqldump documentation says Note that if you run mysqldump without --quick or --opt, mysqldump will load the whole result set into memory before dumping the result. This will probably be a problem if you are dumping a big database.<br /><br />The description for the --quick option is Don't buffer query, dump directly to stdout. Uses mysql_use_result() to do this.<br /><br />I use the following options for backups: --quick --add-drop-table --add-locks --lock-tables.<br /><br />The --opt option, as suggested by the MySQL manual, includes all of the above options with the addition of --extended-insert (Use the new multiline INSERT syntax, for more compact and faster inserts statements.). I omit the --extended-insert option since it makes it more difficult to view or edit the dump file with a text editor, should that be desired.<br /><br /><br />
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top


Top Posters Last 30 Days
AllenAyres 18
Gizmo 12
sirdude 6
GEN 3
tackaberry 2
Philipp 2
willing 2
Who's Online
0 Registered (), 35 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
[7.2.1] - Naked shoutbox
by Iann128
08/22/08 07:27 PM
Nice Ajax Chat
by M4D
08/21/08 10:02 PM
51-card NVIDIA folding rig cranks out 265,200 ppd
by AllenAyres
08/13/08 10:10 PM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.x] AddThis - Social Networking
by Gizmo
08/01/08 01:30 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
Newest Members
welcomeback1, Paug, Tim Keating, anscers, Murphdog
13324 Registered Users

 

 

 
fusionbb message board php hacks