SQL restore question ??
Hello,
Was on my way to build a second EQserver on a VM using xp sp3 .... ( actually my EQserver running on windows 7 and I'm not totally satisfied...) I have made an "export" from my actual peq database and now I want to import the DB into the new server.... I am using Navicat for the "import" My database size is ~ 500 MB and navicat is going in "not responding" status 10 seconds after import started..... Is my database too big ? Do I need to change some import settings ? thanks to the SQL "guru" who can answer me ;) |
500MB can take a while to import. Give it a few minutes and see if it comes back.
|
Last time I have wait 12 hours....lol .....without success :???:
still in "not responding" and freezed at doors table_entry |
Perhaps navicat has issues with large files, or you don't have enough ram allocated to the VM.
You could try doing it from command line. Go find mysql.exe (probably in your mysql\bin folder), navigate there through command prompt and use Code:
mysql -u username -p databasename < path\to\import.sql |
Quote:
C:\mysql\bin>mysql -u root -p peq < peqbkp.sql Enter password: **** ERROR 1064 (42000) at line 13: You have an error in your SQL syntax; check the m anual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 |
That error message is saying there's something wrong with the syntax used in the dump. Open it up (it's just a text file) and look at line 12-14 and see what's wrong.
|
This is what I have for the first lines........ :
# HeidiSQL Dump # # -------------------------------------------------------- # Host: 127.0.0.1 # Database: peq # Server version: 5.0.89-community-nt # Server OS: Win32 # Target compatibility: ANSI SQL # HeidiSQL version: 4.0 # Date/time: 2010-01-25 19:55:44 # -------------------------------------------------------- /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='ANSI,NO_BACKSLASH_ESCAPES';*/ /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;*/ # # Database structure for database 'peq' # CREATE DATABASE /*!32312 IF NOT EXISTS*/ "peq" /*!40100 DEFAULT CHARACTER SET utf8 */; USE "peq"; # # Table structure for table 'aa_actions' # CREATE TABLE /*!32312 IF NOT EXISTS*/ "aa_actions" ( "aaid" mediumint(8) unsigned NOT NULL default '0', "rank" tinyint(3) unsigned NOT NULL default '0', |
All times are GMT -4. The time now is 08:37 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.