Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Error Code 1210: wrong arguments to =

forums forums SQLyog Using SQLyog Error Code 1210: wrong arguments to =

  • This topic is empty.
Viewing 13 reply threads
  • Author
    Posts
    • #8081
      bass
      Member

      Hello,

      I have folloqing table:

      CREATE TABLE `tblTrnHU` (

      `TrnKey` varchar(255) character set latin1 NOT NULL default '',

      `TrnRTS` bigint(20) default '0',

      `TrnDesc` varchar(255) default NULL,

      PRIMARY KEY (`TrnKey`)

      ) TYPE=MyISAM CHARSET=utf8

      I tried to insert special characters like “õéáûúóü…” with SQLYOG and other

      clients but after inserting

      all they are substituted with a “?”. So I have entries like “Sz?veg ?s k?pek”.

      If I want print the entries on a HTML-page I don't see the correct chars but

      only “?”.

      Beside this problem, for some special chars, on inserting, i get the error

      “Error Code 1210: Wrong arguments to =”. The SQL-statement is:

      update tblTrnHU set TrnDesc=”Szakácsmûvészet” where TrnKey=”Gastronomy”;

      Also I tried:

      update tblTrnHU set TrnDesc=CONVERT(_utf8″Szakácsmûvészet” using utf8)

      where TrnKey=”Gastronomy”;

      but it result the same error!

      My problem is that I cannot set charset to latin2 beacuse there are entries

      of other languages (german,italian,english..) on the same table and they have

      other special chars…

      Can anybody help me?

      MySQL Version: 4.1 (alpha)

      Regards,

      Bass

    • #14631
      Shadow
      Member

      Hi, my fellow countryman!

      use latin1 insted of utf8 as charset and you'll get “Szöveg és képek” immediatelly!

      So, insted of:

      Quote:
      CREATE TABLE `tblTrnHU` (

      `TrnKey` varchar(255) character set latin1 NOT NULL default '',

      `TrnRTS` bigint(20) default '0',

      `TrnDesc` varchar(255) default NULL,

      PRIMARY KEY (`TrnKey`)

      ) TYPE=MyISAM CHARSET=utf8

      use:

      CREATE TABLE `tblTrnHU` (

      `TrnKey` varchar(255) character set latin1 NOT NULL default '',

      `TrnRTS` bigint(20) default '0',

      `TrnDesc` varchar(255) default NULL,

      PRIMARY KEY (`TrnKey`)

      ) TYPE=MyISAM CHARSET=latin1

      It works for me and use 4.1-alpha as well

    • #14632
      bass
      Member

      yes, but latin1 don't support some hungarian characters, that's the problem!

    • #14633
      Shadow
      Member

      Are you sure? I get all my Hungarian characters right…

    • #14634
      bass
      Member

      yes I'm sure, I cannot post it here beacuse the forum doesn't

      support these character! it's a “ü”, not with two dots but with

      two little lines…

    • #14635
      Shadow
      Member

      I know how an ? looks like, but my db stores and retrieves them correctly…

    • #14636
      Shadow
      Member

      Oops, the forum really cannot handle long ü correctly. ?= long ü in my previous entry.

    • #14637
      bass
      Member

      I don't now why, but on my machine it doesn't work with this long ü!

      With version of MySQL do you use? on witch OS?

    • #14638
      bass
      Member

      for info:

      ..on my machine I see a “?” for every unknown character…

    • #14639
      bass
      Member

      sorry for multiposting, but can you show/send me the configuration of your mysql server variables?

    • #14640
      Shadow
      Member

      MySql 4.1-alpha on Win2K Prof. SP3 Hungarian version. What is the language of your OS? It may affect what you see because it will render characters differently! And I repeat: latin1 gets all my special characters right.

    • #14641
      bass
      Member

      it's all ok, I solved the problem!

      Now I can save all special chars into the DB, but I noticed that sqlyog not shows me

      all characters correctly! for example I see a “û” instead a long ü, but in the table

      it's saved correctly as a long ü! PHP gets it correctly!

      does sqlyog have settings about charset for displaying these kind of chars ?

    • #14642
      Shadow
      Member

      What charset does your os use? Because that influences how SQLyog displays the characters!

    • #14643
      bass
      Member

      thanks!

Viewing 13 reply threads
  • You must be logged in to reply to this topic.