Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 7 of 7

This is a discussion on ERROR 1193: Unknown system variable 'products_model' in the Shared & Semi-Dedicated forum
I am getting the above error when I try to enter this statement into mysqlcc. I get similar message trying to enter it using phpmyadmin.. ...

  1. #1
    Loyal Client
    Join Date
    Aug 2008
    Posts
    81

    ERROR 1193: Unknown system variable 'products_model'

    I am getting the above error when I try to enter this statement into mysqlcc. I get similar message trying to enter it using phpmyadmin.. I KNOW the statement is correct and that "products_model" exists EXACTLY how it is spelled.

    Anyone have any ideas? Is this a configuration problem? It has always worked before in the past. Secondarily, I did try another update staement which uses the same table, though it does not affect the products_model field, and it works fine.

    UPDATE products
    set products_model = 'XYZZ' where products_model = 'XYZ';
    set products_model = 'ABCD' where products_model = 'ABC';

    BTW, Jaguar- while your monitoring seems to have improved some, you still have a ways to go before I'll be happy again. My site performance is half of what it was when I started with you. - and that's when it is working.

  2. #2
    Registered User
    Join Date
    Jun 2008
    Posts
    285
    Please open a ticket in support department and techs will check into your issues, or provide the ticket ID if you have already opened.

  3. #3
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,307
    My silly guess of the day-- the update statement wasn't seen for some reason, and the query being seen is just "set product_name = "whatever".

    See if there's an error before the 1193!
    Good luck

  4. #4
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    Statement ends at that first ;. It then sees an invalid second statement. Try:
    Code:
    UPDATE products set products_model = 'XYZZ' where products_model = 'XYZ';
    UPDATE products set products_model = 'ABCD' where products_model = 'ABC';
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  5. #5
    Loyal Client
    Join Date
    Aug 2008
    Posts
    81

    Doh!!!

    Quote Originally Posted by Gwaihir View Post
    Statement ends at that first ;. It then sees an invalid second statement. Try:
    Code:
    UPDATE products set products_model = 'XYZZ' where products_model = 'XYZ';
    UPDATE products set products_model = 'ABCD' where products_model = 'ABC';
    Well, such a stupid mistake. Haven't tried your suggestion yet, but I believe you are absolutely right. Not sure how I missed that one!!

    Thanks Gwahir. Really appreciate it!

  6. #6
    Loyal Client
    Join Date
    Aug 2008
    Posts
    81
    Quote Originally Posted by Gwaihir View Post
    Statement ends at that first ;. It then sees an invalid second statement. Try:
    Code:
    UPDATE products set products_model = 'XYZZ' where products_model = 'XYZ';
    UPDATE products set products_model = 'ABCD' where products_model = 'ABC';
    Yep, that was the ticket! Good catch Gwahir.

    Thanks again.

  7. #7
    Loyal Client
    Join Date
    Aug 2008
    Posts
    81
    Quote Originally Posted by Ron View Post
    My silly guess of the day-- the update statement wasn't seen for some reason, and the query being seen is just "set product_name = "whatever".

    See if there's an error before the 1193!
    Thanks to you too Ron - looks like you also figured this out...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •