Quote:
|
Originally Posted by ShavedApe I know its prolly a while ago since this was discussed but I may as well say what I do here.
first of all download yourself an sql back up of your board.
eg. vbulletin.sql and save it to your mysql/bin/ dir.
open comand prompt and type cd c:\path\to\your\mysql\bin_dir\
eg. c:\mysql\bin\
now type mysql -u username_for_mysql -p database_name < vbulletin.sql
hit enter
you will now be asked for password of mysql server enter that and wait till its done. |
hi ShavedApe
how did you import the database.??
i am trying to set a local server to test the upgrade of my vb 3.5.1 to 3.5.4 before doing it.
i managed to set a local server at my pc and i was trying to import the database using the following command
Quote:
|
c:\mysql\bin\mysql -u username -p dbname < c:\backup.sql
|
BUT when i try to restore my database i get the following error
Quote:
Quote:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\stinger>C:\AppServ\mysql\bin\mysql -u root -p stinger < c:\bk11152005.sql
Enter password:******
|
THIS is the error
Quote:
|
ERROR 1062 (23000) at line 4250: Duplicate entry 'tiδsto' for key 2
|
or this error
Quote:
|
ERROR 1062 (23000) at line 4262: Duplicate entry 'andrΘ' for key 2
|
anyone can help me explaining the error
ps.i used appserv, phptriad, wampserver, plus different versions of Mysql....
always the same error
my actual database has been transfeered to 2 normal servers already without problems and i used different copies of the database with different sizes
can anyone help me here explaining this error i am getting..and how to correct it??
kind regards