Mysql Error


#1

Hi everyone! Imported a mysql file and I’m getting an error… This is my first time ever dealing with mysql. So this error might be a simple fix. I have no idea. Can someone help me?

Here’s the long error…

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----
eNrVUz1v2zAQ9cxfcUPQyWJISpQbBRmERHUC6MMVZQ9ZBMGmYwG26EhUXP/7Hm203TIVBXrLEe+9
+yDxmJRlUUbwyOFRQJrkEYgAhISZHxBVITMhRK0QvnnZ3JDsrL6nEUjKqX/n7c0bWaoSCjWFeJ7k
1RRWCZZkzRpU/C0uX1DJqPQlWWRxBD71KWc0IIvnhVNOC+V6CcpnkLbd+IOkcT6PQHfeaLfeV3IZ
tm/W+lx/tBtthre+WbdmMHR430/+YjDGZlLCJYfXzPAdXJYyYKFkDDifiUD4Pg9CYDzkXEyATf5B
jINtelxFdeb0mQ5l2+3nl8SA3/k/Cc+D4+6YnePNoe0ALQFP4+FIEP7Q/dCaDn0V0DsH7Kw9Rre3
p9OJYsnh3LgS2mmLpOOfzWDRUGbd7Hd4dNBcd7pvrGtTtQftzNsDE1MQjAtoLLAgYiEsMidWuseZ
v+Ze/4EMHXNx9B9Y4D5EJZVbt86Kp+Thy/to7H1e1PGyKupVnC6Tusjr16QsrtT9T+chiIQ=
----END CUT----
----BEGIN RAW----
ERROR: C1 C2 LEN: 24 25 734
STR:

SVN: $Id$
MySQL: 5.1.39-log
USR OS, AGENT, VER: Mac SAFARI 5.0.535
PMA: 3.3.10.4
PHP VER,OS: 5.2.17 Linux
LANG: en-utf-8
SQL: lacey_videosgracioso.sql000755 000765 000024 00055406500 11724233146 016112 0ustar00Snowstaff000000 000000 – phpMyAdmin SQL Dump
– version 3.4.9
http://www.phpmyadmin.net

– Host: localhost
– Generation Time: Mar 02, 2012 at 04:06 PM
– Server version: 5.1.56
– PHP Version: 5.2.9

SET SQL_MODE=“NO_AUTO_VALUE_ON_ZERO”;
----END RAW----

SQL query:

lacey_videosgracioso.sql000755 000765 000024 00055406500 11724233146 016112 0ustar00Snowstaff000000 000000 – phpMyAdmin SQL Dump – version 3.4.9 – http://www.phpmyadmin.net – -- Host: localhost – Generation Time: Mar 02, 2012 at 04:06 PM – Server version: 5.1.56 – PHP Version: 5.2.9 SET SQL_MODE=“NO_AUTO_VALUE_ON_ZERO”;

MySQL said:

#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 ‘lacey_videosgracioso.sql’ at line 1


#2

The file you’re trying to import is not a MySQL dump. From the looks of it, it’s more likely to be a TAR archive file — you may be able to expand it using an archive tool like WinZip or 7zip, then upload the SQL file that it contains.