Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-27-2010, 09:37 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default Sourcing a database backup while shopping ?

I was just curious, about the length of time it's supposed to take to source
in a backed up database (324 mb in size).
At first I logged in to sql, using cmd and after typing "use peq", I typed in
"source peqbackup.sql" (without quotes). It started sourcing, with no
apparent errors, but just kept running and streaming "Query OK, 1 row
affected" up the window. It ran for over an hour, before I stopped it.
Then I cleared the sql peq, and ran the backup from Navicat using the
"execute sql". Although its still running as I type this, I left the house and
went shopping after I got the sourcing going, it was showing 5% done when
I returned, now at 6%, and there is no errors coming up.
Is this normal ? lol
Reply With Quote
  #2  
Old 12-28-2010, 02:14 AM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

Guess I better add, that the puter I am using is not a slow one, lol
(3.2 Ghz 6-core, with 8 gigs of ram) Win 7 - 64bit
Reply With Quote
  #3  
Old 12-28-2010, 11:06 AM
Zandig's Avatar
Zandig
Hill Giant
 
Join Date: Jun 2006
Location: New York City
Posts: 180
Default

Use SQLyog community:
http://code.google.com/p/sqlyog/downloads/list

Much better than Navicat which is known to cause issues. I seen Navicat cause problems when sourcing files for other emulators (i.e. WOW'sTrinitycore) and SQLyog works just fine.
Reply With Quote
  #4  
Old 12-28-2010, 12:03 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

Quote:
Originally Posted by Zandig View Post
Use SQLyog community:
http://code.google.com/p/sqlyog/downloads/list

Much better than Navicat which is known to cause issues. I seen Navicat cause problems when sourcing files for other emulators (i.e. WOW'sTrinitycore) and SQLyog works just fine.
Ok, thank you, I will give that a try.
Reply With Quote
  #5  
Old 12-29-2010, 09:53 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

Quote:
Originally Posted by Zandig View Post
Use SQLyog community:
http://code.google.com/p/sqlyog/downloads/list

Much better than Navicat which is known to cause issues. I seen Navicat cause problems when sourcing files for other emulators (i.e. WOW'sTrinitycore) and SQLyog works just fine.
Hey Zandig, I tried out that SQLyog and it works a hell of lot better, lol.
I backed up the db with it and sourced it in on another puter, just to
see how it would go and its awesome. Even the backup sql is a normal
size (148 mb) compared to the 324 mb that Navicat produced.
I even sourced the backup in using dos, or cmd as we call it now,
through mysql. only took 3 minutes. Thanks again for the info
Reply With Quote
  #6  
Old 12-29-2010, 10:19 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

Quote:
Originally Posted by Huppy View Post
Hey Zandig, I tried out that SQLyog and it works a hell of lot better, lol.
I backed up the db with it and sourced it in on another puter, just to
see how it would go and its awesome. Even the backup sql is a normal
size (148 mb) compared to the 324 mb that Navicat produced.
I even sourced the backup in using dos, or cmd as we call it now,
through mysql. only took 3 minutes. Thanks again for the info
mysqldump -uusername -ppassword databasename

Will dump it into the directory in which you run the command from in prompt. Or you could run it this way

mysqldump -uusername -ppassword databasename > "c:\Directory\To\Dump\to\database.sql"
Reply With Quote
  #7  
Old 12-29-2010, 10:53 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

Quote:
Originally Posted by Akkadius View Post
mysqldump -uusername -ppassword databasename

Will dump it into the directory in which you run the command from in prompt. Or you could run it this way

mysqldump -uusername -ppassword databasename > "c:\Directory\To\Dump\to\database.sql"
I actually tried that first string, once before, but your second suggestion
worked like a charm and took less than 30 seconds.
I miss the good old days of working with dos. Things went faster, lol
Reply With Quote
  #8  
Old 12-29-2010, 11:08 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

Quote:
Originally Posted by Huppy View Post
I actually tried that first string, once before, but your second suggestion
worked like a charm and took less than 30 seconds.
I miss the good old days of working with dos. Things went faster, lol
Sources very fast as well.
Reply With Quote
  #9  
Old 12-30-2010, 10:34 AM
Zandig's Avatar
Zandig
Hill Giant
 
Join Date: Jun 2006
Location: New York City
Posts: 180
Default

Quote:
Originally Posted by Huppy View Post
Hey Zandig, I tried out that SQLyog and it works a hell of lot better, lol.
I backed up the db with it and sourced it in on another puter, just to
see how it would go and its awesome. Even the backup sql is a normal
size (148 mb) compared to the 324 mb that Navicat produced.
I even sourced the backup in using dos, or cmd as we call it now,
through mysql. only took 3 minutes. Thanks again for the info
Glad to hear it worked out for you.

SQLyog is a nice program to work with any aspect of your database.
More proof Navicat is much inferior and broken
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:17 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3