Getting 1064 error when importing sql in phpmyadmin - mysql

Hi I exported from MySql workbench to an sql file.
When I import it with Phpmyadmin I get this error.
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 ''a:4:{s:5:\"child\";a:1:{s:0:\"\";a:1:{s:3:\"rss\";a:1:{i:0;a:6:{s:4:\"data\";s:' at line 1

Related

ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server

This is the complete error.
ERROR 1064 (42000) at line 1: 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 'Id,ActivityDay,Calories
1503960366,4/12/2016,1985
1503960366,4/13/2016,1797
1503' at line 1
i am just trying to import a csv file from my download folder of pc to my database using import database function in mysql workbench. Import is completed BUT with this one error .

Facing problem while creating database in python

import mysql.connector
db=mysql.connector.connect(host="localhost",user="root",password="PP1994an!")
dbcursor=db.cursor()
dbcursor.execute("create database films")
dbcursor.execute("show database")
for i in dbcursor:
print(i)
while running this code I got an error like
mysql.connector.errors.ProgrammingError: 1064 (42000): 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 'database' at
line 1
There is no SHOW DATABASE. There is SHOW DATABASES, however, which is probably what you want.

Getting Database putting into sql file

I am trying to get my database example_dog_names into a sql file. The command I have tried to do this is:
example_dog_names > C:/Users/man/Desktop/dbfile.sql;
The error that I am getting says:
ERROR 1064 (42000): 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
'example_dog_names < C:/Users/man/Desktop/dbfile.sql' at line 1
What am I missing? I am connected to MySQL, and I executed the command:
USE example_dog_names;
Any help is appreciated!

Importing A table from phpMyAdmin to a server

I am trying to import a table from phpMyAdmin in my laptop to a server and I get this error:
#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 'Rar!' at line 1

Database import error..<!— PMA-SQL-ERROR -->

I have a wordpress site, but when I import the database in my cpanel I found SQL error:
SQL query: Edit
SHOW TABLE STATUS FROM skynines_advicementor
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 '
Error
SQL query at line 1
I can't find solution of this error.