You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I've executed the plain script with the following command to receive the newest version: ./secrat_asvs_importer.sh
When trying to import it into my db I get the following syntax error: mysql -u root -p'*****.' test < secrat_asvs_final_4.0.3_en.sql ERROR 1064 (42000) at line 518: 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 'Architecture, - Design","Design",4,_binary '', 1); -- Link ASVS Chapter INSERT ' at line 1
By investigating the corresponding sql line I saw that one quote was missing: after the String V1: INSERT INTO COLLECTIONINSTANCE VALUES (4,"V1,"Architecture, - Design","Design",4,_binary '^A', 1);
So I fixed that and tried to import it again. Fixed sql string: INSERT INTO COLLECTIONINSTANCE VALUES (4,"V1","Architecture, - Design","Design",4,_binary '^A', 1);
New try to import it: mysql -u root -p'*****.' test < secrat_asvs_final_4.0.3_en.sql ERROR 1136 (21S01) at line 518: Column count doesn't match value count at row 1
Any idea?
The text was updated successfully, but these errors were encountered:
Hey,
I've executed the plain script with the following command to receive the newest version:
./secrat_asvs_importer.sh
When trying to import it into my db I get the following syntax error:
mysql -u root -p'*****.' test < secrat_asvs_final_4.0.3_en.sql ERROR 1064 (42000) at line 518: 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 'Architecture, - Design","Design",4,_binary '', 1); -- Link ASVS Chapter INSERT ' at line 1
By investigating the corresponding sql line I saw that one quote was missing: after the String V1:
INSERT INTO
COLLECTIONINSTANCEVALUES (4,"V1,"Architecture, - Design","Design",4,_binary '^A', 1);
So I fixed that and tried to import it again. Fixed sql string:
INSERT INTO
COLLECTIONINSTANCEVALUES (4,"V1","Architecture, - Design","Design",4,_binary '^A', 1);
New try to import it:
mysql -u root -p'*****.' test < secrat_asvs_final_4.0.3_en.sql ERROR 1136 (21S01) at line 518: Column count doesn't match value count at row 1
Any idea?
The text was updated successfully, but these errors were encountered: