ERROR 1064 (42000) Delete statement in RDS - mysql

I tried to use RDS MySQL to store my data. This statement works in my local DB.
DELETE FROM movie_recommend mr WHERE mr.user_id = 71
But it's not executed in RDS MySQL.
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 'mr where mr.user_id = 71' at line 1
Any helps what's wrong with the syntax?

Related

Compound Operators not working on mysql phpmyadmin

MariaDB [employee_info]> SELECT (Price+=Price) from product_Price;
ERROR 1064 (42000): 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 '=Price) from product_Price' at line 1

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?

MySQL throws an error but still executes the query

I am trying to execute this query in MySQL:
INSERT INTO eier_borettslag(bsID, eierID)
VALUES(1, 1);
MySQL prompts me with this error message:
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 '' at line 1
Could someone help me identify the syntax error and explain why the query gets executed even though the syntax is wrong?

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!

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