This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
ShuN^
I want to execute a batch file into the navicat.The .sql file contains this:
INSERT INTO `custom_armor` VALUES ('9950', 'Vesper Black Helmet', 'head', 'true', 'none', '550', 'bone', 's', '0', '-1', '83', '0', '0', '5370000', '268', 'true', 'true', 'true', 'true', '0', '0'); INSERT INTO `custom_armor` VALUES ('9951', 'Vesper Black Breastplate', 'chest', 'true', 'heavy', '7620', 'scale_of_dragon', 's', '0', '-1', '205', '0', '0', '14300000', '715', 'true', 'true', 'true', 'true', '0', '0'); INSERT INTO `custom_armor` VALUES ('9952', 'Vesper Black Gaiters', 'legs', 'true', 'heavy', '3260', 'scale_of_dragon', 's', '0', '-1', '128', '0', '0', '8960000', '448', 'true', 'true', 'true', 'true', '0', '0'); INSERT INTO `custom_armor` VALUES ('9953', 'Vesper Black Gauntlets', 'gloves', 'true', 'none', '540', 'leather', 's', '0', '-1', '55', '0', '0', '3580000', '179', 'true', 'true', 'true', 'true', '0', '0'); INSERT INTO `custom_armor` VALUES ('9954', 'Vesper Black Boots', 'feet', 'true', 'none', '1110', 'leather', 's', '0', '-1', '55', '0', '0', '3580000', '179', 'true', 'true', 'true', 'true', '0', '0'); INSERT INTO `custom_armor` VALUES ('9955', 'Vesper Black Leather Armor', 'chest', 'true', 'light', '7620', 'scale_of_dragon', 's', '0', '-1', '205', '0', '0', '14300000', '715', 'true', 'true', 'true', 'true', '0', '0'); INSERT INTO `custom_armor` VALUES ('9956', 'Vesper Black Leggings', 'legs', 'true', 'light', '3260', 'scale_of_dragon', 's', '0', '-1', '128', '0', '0', '8960000', '448', 'true', 'true', 'true', 'true', '0', '0'); INSERT INTO `custom_armor` VALUES ('9957', 'Vesper Black Gloves', 'gloves', 'true', 'none', '540', 'leather', 's', '0', '-1', '55', '0', '0', '3580000', '179', 'true', 'true', 'true', 'true', '0', '0'); INSERT INTO `custom_armor` VALUES ('9958', 'Vesper Black Boots', 'feet', 'true', 'none', '1110', 'leather', 's', '0', '-1', '55', '0', '0', '3580000', '179', 'true', 'true', 'true', 'true', '0', '0'); INSERT INTO `custom_armor` VALUES ('9959', 'Vesper Black Robe Armor', 'chest', 'true', 'magic', '7620', 'scale_of_dragon', 's', '0', '-1', '205', '0', '0', '14300000', '715', 'true', 'true', 'true', 'true', '0', '0'); INSERT INTO `custom_armor` VALUES ('9960', 'Vesper Black Stockings', 'legs', 'true', 'magic', '3260', 'scale_of_dragon', 's', '0', '-1', '128', '0', '0', '8960000', '448', 'true', 'true', 'true', 'true', '0', '0'); INSERT INTO `custom_armor` VALUES ('9961', 'Vesper Black Gauntlets', 'gloves', 'true', 'none', '540', 'leather', 's', '0', '-1', '55', '0', '0', '3580000', '179', 'true', 'true', 'true', 'true', '0', '0'); INSERT INTO `custom_armor` VALUES ('9962', 'Vesper Black Boots', 'feet', 'true', 'none', '1110', 'leather', 's', '0', '-1', '55', '0', '0', '3580000', '179', 'true', 'true', 'true', 'true', '0', '0');and when i try to execute it it gives me the following error:
[Err] 1136 - Column count doesn't match value count at row 1 [Err] INSERT INTO `custom_armor` VALUES ('9950', 'Vesper Black Helmet', 'head', 'true', 'none', '550', 'bone', 's', '0', '-1', '83', '0', '0', '5370000', '268', 'true', 'true', 'true', 'true', '0', '0');Anybody knows how to fix that kind of errors?I also added by myself 1 item from the 1st code, i restarted the server and when i tried to create it, it couldn't be found.
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now