I just made a few changes to my tables changing varchar
to varbinary
after reading about it's advantages, and seeing that media wiki also use it.
So I created a table called test
CREATE TABLE `test` (
`user` VARBINARY(255) NOT NULL
)
COLLATE='utf8_general_ci'
ENGINE=MyISAM;
and inserted
insert into test (user) values ('Norman');
Result :0X4E6F726D616E
then
select user from test;
Result :0X4E6F726D616E
How do I get data from user
in human readable form? How does this whole varbinary thing work?
I see MediWiki use it all over their database, but still get data out in a form that's readable. How is this done?