ERROR 1064 (42000): mysql 5.0.77 server : tablespace creation error - mysql

Server version: 5.0.77 Source distribution
I am getting error while creation of tablespaces
CREATE TABLESPACE `ts1` ADD DATAFILE 'ts1.ibd' ENGINE=INNODB;
Error is
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 'TABLESPACE `ts1` ADD DATAFILE 'ts1.ibd' ENGINE=INNODB' at line 1'
I understand, There are two different types of quotation marks in MySQL (` for column names and ' for strings). Why i am getting above error?

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 .

MYSQL forward engineer error ENGINE = InnoDB error

ERROR: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ENGINE = InnoDB' at line 1
why is this error?

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!

I am trying to insert into a table using "&" operator in MySql

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

Getting 1064 error when importing sql in phpmyadmin

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