Unix Technical Forum

MySql & Hebrew

This is a discussion on MySql & Hebrew within the MySQL forums, part of the Database Server Software category; --> Hello. I have problem in showing sql results in Squirrel eighter on java code. (connection string is : jdbc:mysql://localhost/mydb ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 04:09 PM
Mr. X.
 
Posts: n/a
Default MySql & Hebrew

Hello.
I have problem in showing sql results in Squirrel eighter on java code.
(connection string is : jdbc:mysql://localhost/mydb )

select 'рст'
(can you see Hebrew ?).

I see that the result in Squrrel eighter on java code is ??? (three question remarks).

How can I solve the above ?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 04:09 PM
Rik Wasmus
 
Posts: n/a
Default Re: MySql & Hebrew

On Wed, 16 Apr 2008 14:25:12 +0200, Mr. X.
<no_spam_please@nospam_please.com> wrote:

> Hello.
> I have problem in showing sql results in Squirrel eighter on java code.
> (connection string is : jdbc:mysql://localhost/mydb )
>
> select 'зз‘з’'
> (can you see Hebrew ?).
>
> I see that the result in Squrrel eighter on java code is ??? (three
> question remarks).
>
> How can I solve the above ?


The question is where it goes wrong. It might be with MySQL, but also
further on in your application itself. Usually a SET NAMES here is enough,
see <http://dev.mysql.com/doc/refman/5.0/en/charset-connection.html>.
--
Rik Wasmus
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 04:09 PM
Mr. X.
 
Posts: n/a
Default Re: MySql & Hebrew

O.K.
I will check it out.
Besides, it is not only that java code has problem with that, but also tools
like Squirrel.

I don't know how to link the correct charset, and what ini file is for
mysql.
There are several ini file - How can I know which is the default one ?
Is there any configuration utilility for mysql ?

Thanks


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:48 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com