phpmyadmin shows numbers or blob for mysql's utf8_bin callation columns?

Posted by marc40000 on Stack Overflow See other posts from Stack Overflow or by marc40000
Published on 2010-04-27T12:55:34Z Indexed on 2010/04/27 13:53 UTC
Read the original article Hit count: 363

Filed under:
|
|
|

Hi !

I have a table with a varchar column. Its collation is set to utf8_bin. My software using this table and column works perfectly. But when I look at the content in phpmyadmin, I only see some hex values or [Blob xB]. Can I make phpmyadmin show the content correctly?

Besides, when I set the collation to utf8_general_ci or utf8_unicode_ci, the phpmyadmin shows the content correctly.

Thx Marc

[edit]Hah, I found out, there is a small "+Options" link above every table in phpmyadmin. It opens several options including "Show BLOB contents" - which makes the [blob] to readable text when enabled and "Show binary contents as HEX" which shows the hex codes as text when disabled.

No idea why there are two options though and why sometimes there is a [Blob] and sometimes hex values.

Well. Now I'm still wondering: Setting these options get lost when I go to another table. I have to set them every time I go there. Is there a way to save those options? [/edit]

© Stack Overflow or respective owner

Related posts about mysql

Related posts about utf8