A serious problem!!

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
amirbwb
Forum Commoner
Posts: 89
Joined: Sat Oct 30, 2010 6:10 pm

A serious problem!!

Post by amirbwb »

Hello,
I am a php programmer (I only know : HTML CSS PHP MYSQL),
I asked someone to give me a backup of the database so i can import it to my phpmyadmin, this someone use aspx and not php ... he sent me a file which is file.bak, i have changed it to file.sql and then import it into phpmyadmin but when i import it gave me this error :


There is a chance that you may have found a bug in the SQL parser. Please examine your query closely, and check that the quotes are correct and not mis-matched. Other possible failure causes may be that you are uploading a file with binary outside of a quoted text area. You can also try your query on the MySQL command line interface. The MySQL server error output below, if there is any, may also help you in diagnosing the problem. If you still have problems or if the parser fails where the command line interface succeeds, please reduce your SQL query input to the single query that causes problems, and submit a bug report with the data chunk in the CUT section below:
----BEGIN CUT----
eNrtTjtOw0AQHRPSbEHBBZgipb3y+iPwUq2CFSz5F69JpBRIfBxhyQTjJEicgAZxF8RN4BhcgrVp
oIIDeKQ3M3rz9Ob5WZZkHMcMxxaGfszRQRc9xyIyVzwQImeKHAXXHNf3VX3RrIuGVuUlrW9qZDZj
h2iZpmcwZjBXEdw1uW0tsCpuPRyR6FFOQ44uZdRh5ExmmEgdxcSPcx1nvnoxL1cYJYsgDIWSmSSN
BEebWtQh6WnaavREtg42ZTgP4jgnoYgnHIuVsd0sjSPSfchF6gMM4Bn2NPhH7cDT8P317XOodq3D
4Nddh3OAXdg/qPKPFy2CEq6ggTtYKyxhAwgSphB2s1CXh65/VyaCk3biD7/jPmAfsA/4R8Av01SY
sA==
----END CUT----
----BEGIN RAW----

ERROR: C1 C2 LEN: 4 5 942
STR:

SVN: $Id: sqlparser.lib.php 13117 2009-11-15 13:50:32Z lem9 $
MySQL: 5.1.41
USR OS, AGENT, VER: Win MOZILLA 5.0
PMA: 3.2.4
PHP VER,OS: 5.3.1 WINNT
LANG: en-utf-8
SQL: TAPE��ұ��,^lTӎMicrosoft SQL ServerRAID ;TAPE��ұ��,^lTӎMicrosoft SQL ServerRAID ;TAPE��ұ��,^lTӎMicrosoft SQL ServerRAID ;TAPE��ұ��,^lTӎMicrosoft SQL ServerRAID ;TAPE��ұ��,^lTӎMicrosoft SQL ServerRAID ;TAPE��ұ��,^lTӎMicrosoft SQL ServerRAID ;

----END RAW----

SQL query:

TAPE��ұ��,^lTӎMicrosoft SQL ServerRAID ;

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TAPE' at line 1
User avatar
ok
Forum Contributor
Posts: 393
Joined: Wed May 31, 2006 9:20 am
Location: The Holy Land

Re: A serious problem!!

Post by ok »

Please attach the original backup file
Post Reply