Problems with executing menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Nadromar's Avatar Contributor
    CoreCoins Purchaser
    Reputation
    369
    Join Date
    Oct 2006
    Posts
    510
    Thanks G/R
    15/28
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problems with executing

    This is possibly the simpelest thing ever, i hope so anyway,
    Whenever I try to execute an sql file in the DB, i get this error Column count doesn't match value count at row 1

    I have the latest rev of arcemu and the sql is designed for arcemu so thats not it

    Problems with executing
  2. #2
    Nadromar's Avatar Contributor
    CoreCoins Purchaser
    Reputation
    369
    Join Date
    Oct 2006
    Posts
    510
    Thanks G/R
    15/28
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Never mind, I figured the problem,
    the thing i want to execute is probably based on an older version of arcemu, basically i have to add , '0', '0', '0', '0', '0', '0' to every object and done

  3. #3
    Sonic Waffle's Avatar Contributor
    Reputation
    170
    Join Date
    Dec 2007
    Posts
    990
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It means that the script is trying to insert less column values into the row than there columns. E.g.:
    Code:
    INSERT INTO accounts (acct, username, password, level) VALUES('12341', 'admin')
    This is wrong, you need to supply ALL the columns you are going to use, so the correct query would be:
    Code:
    INSERT INTO accounts (acct, username, password, level) VALUES('12341', 'admin', 'password', 'az')
    Edit: Saw you just posted the answer. >.<
    But I have the reason!
    Last edited by Sonic Waffle; 04-16-2009 at 11:04 PM.


  4. #4
    Nadromar's Avatar Contributor
    CoreCoins Purchaser
    Reputation
    369
    Join Date
    Oct 2006
    Posts
    510
    Thanks G/R
    15/28
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    xD Thanks anyways, youll get a repcookie for trying to help

    EDIT: Given out too much rep today << Ill give it tomorrow :d
    Last edited by Nadromar; 03-10-2016 at 01:43 PM.

  5. #5
    Reflection's Avatar Legendary
    Reputation
    783
    Join Date
    Mar 2008
    Posts
    3,377
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Whenever I get that error I go to the table I'm inserting into, open it and count the columns. I remember that number and switch to the file to execute. There I also count them.

    If you get this error the column counts don't match. If there are too many columns in the file I want to execute I check to see if there's any update for my database, if there's too few I copy the last ");", go into the replace function of notepad (ctrl+h), paste the copied items to "Find What" and basically add as many 0's I need. So if the executed files need 3 more 0's I type in Replace What: '0', '0', '0');

    What replace does is it looks for what you said it should find and replaces it with the second line throughout the entire document.

    It may not be the easiest, quickest or most flawless way, but it's my way and I can live with it

    Hope I could help, Nightfoxx.

    Freelance Digital Artist
    https://reflectionartwork.deviantart.com
    You did not desert me
    My brothers in arms


Similar Threads

  1. Problems With Instance Switching
    By SandLOL in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 08-30-2006, 09:22 PM
  2. Problem with WPE
    By weedlord in forum World of Warcraft General
    Replies: 0
    Last Post: 08-14-2006, 03:35 AM
  3. Problem with BWH 1.11.2
    By gwl15 in forum World of Warcraft General
    Replies: 3
    Last Post: 08-11-2006, 05:37 PM
  4. Problem with CE.
    By Eldretch in forum World of Warcraft General
    Replies: 1
    Last Post: 08-08-2006, 06:49 PM
  5. I have problem with BHW 3.0
    By sunrize1 in forum World of Warcraft General
    Replies: 1
    Last Post: 07-17-2006, 08:49 AM
All times are GMT -5. The time now is 12:22 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search