MySQL Error
Savanah44420
Posted messages
9
Status
Membre
-
jordane45 Posted messages 30426 Registration date Status Modérateur Last intervention -
jordane45 Posted messages 30426 Registration date Status Modérateur Last intervention -
Hello
I am going step by step through a tutorial on databases, but I am encountering a problem with importing the SQL file into the database. It keeps returning an error #1064.
I have searched and searched, but I can't find the error !! Totally clueless about coding, I am completely lost right now !! Smiley bawling
Thank you for your help
Here is the file in question:
http://fille2lair.fr/PROVISOIRE/fichier_produits.sql
I am going step by step through a tutorial on databases, but I am encountering a problem with importing the SQL file into the database. It keeps returning an error #1064.
I have searched and searched, but I can't find the error !! Totally clueless about coding, I am completely lost right now !! Smiley bawling
Thank you for your help
Here is the file in question:
http://fille2lair.fr/PROVISOIRE/fichier_produits.sql
2 réponses
Hello,
Start by copying your SQL query code into a notepad++ and make sure your file is in utf8 without BOM
Then, delete all the lines that are comments (everything that starts with /* or -- )
--
Best regards,
Jordane
Start by copying your SQL query code into a notepad++ and make sure your file is in utf8 without BOM
Then, delete all the lines that are comments (everything that starts with /* or -- )
--
Best regards,
Jordane
The simplest thing would be for you to paste the entirety of your SQL script
NB: To post your code... please use the code tags.
Explanations available here: https://codes-sources.commentcamarche.net/faq/11288-les-balises-de-code
NB: To post your code... please use the code tags.
Explanations available here: https://codes-sources.commentcamarche.net/faq/11288-les-balises-de-code
try this:
VALUES
('****', '****', '****');
I don't know, it was written like that in the source files...