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.
Related
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.
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!
I am using Server version: 5.6.26 MySQL Community Server (GPL).I am trying to insert into subodh table using & operator using following query
insert into subodh values(&date_of_birth,&name,&age,&qualification,&id);
but it is showing the following error
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 '&date
_of_birth,&name,&age,&qualification,&id)' at line 1
please help me.
Thanks
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
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