Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

MySql with Hebrew.

 
   Database Help (Home) -> Java RSS
Next:  What's next for databases and the web? Learn at L..  
Author Message
Mr. X.

External


Since: Dec 27, 2007
Posts: 35



(Msg. 1) Posted: Fri Apr 04, 2008 1:03 pm
Post subject: MySql with Hebrew.
Archived from groups: comp>lang>java>databases (more info?)

Hello.
I want to use MySql with Hebrew.
I am using also Squirrel as a navigator.
How can I use in mysql either Squirrel with Hebrew.

Thanks Smile

 >> Stay informed about: MySql with Hebrew. 
Back to top
Login to vote
RedGrittyBrick

External


Since: Feb 22, 2008
Posts: 16



(Msg. 2) Posted: Fri Apr 04, 2008 1:03 pm
Post subject: Re: MySql with Hebrew. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Mr. X. wrote:
> Hello.
> I want to use MySql with Hebrew.
> I am using also Squirrel as a navigator.
> How can I use in mysql either Squirrel with Hebrew.

Have you read this:
http://dev.mysql.com/tech-resources/articles/4.1/unicode.html

Please use a MySQL forum for MySQL questions.


IIRC SQuirreL is written in Java.
http://mindprod.com/jgloss/unicode.html

--
RGB

 >> Stay informed about: MySql with Hebrew. 
Back to top
Login to vote
Roedy Green

External


Since: Feb 12, 2008
Posts: 13



(Msg. 3) Posted: Fri Apr 04, 2008 8:50 pm
Post subject: Re: MySql with Hebrew. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 4 Apr 2008 13:03:56 +0300, "Mr. X."
wrote, quoted or indirectly quoted
someone who said :

>I want to use MySql with Hebrew.
>I am using also Squirrel as a navigator.
>How can I use in mysql either Squirrel with Hebrew.

Often you can configure a database with which encoding it should store
the database. I think JDBC always uses Unicode. So if you are
writing in Java, I would think you don't need to do anything special
to fetch your data, just to display it, right to left, and to make
your layouts align the mirror of the usual.

see http://mindprod.com/jgloss/hebrew.html
for some tips on using Hebrew in Java.
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
 >> Stay informed about: MySql with Hebrew. 
Back to top
Login to vote
Mr. X.

External


Since: Dec 27, 2007
Posts: 35



(Msg. 4) Posted: Mon Apr 14, 2008 6:19 am
Post subject: Re: MySql with Hebrew. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello.
Also in Squirrel eighter on java code
(connection string is : jdbc:mysql://localhost/mydb )

select '???'
(can you see Hebrew ?).

I see that the result is ??? (three question remarks).

How can I solve the above ?

Thanks Smile
 >> Stay informed about: MySql with Hebrew. 
Back to top
Login to vote
RedGrittyBrick

External


Since: Feb 22, 2008
Posts: 16



(Msg. 5) Posted: Mon Apr 14, 2008 12:00 pm
Post subject: Re: MySql with Hebrew. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Mr. X. wrote:
> Hello.
> Also in Squirrel eighter on java code
> (connection string is : jdbc:mysql://localhost/mydb )
>
> select '???'
> (can you see Hebrew ?).
>
> I see that the result is ??? (three question remarks).

It works fine for me using SQuirreL 2.2 and Derby
select code, 'foo', 'אבג', 'bar' from app.customer;
returned a nice table with Hebrew characters in the 3rd column.

>
> How can I solve the above ?
>

I think it's not a Java programming problem.
Try asking in comp.databases.mysql

Try using MySQL's command line tools
http://dev.mysql.com/doc/refman/5.1/en/mysql.html
Obviously, you'll have to set up your command line environment to use a
character set/encoding/font that supports Hebrew.


If you can get MySQL's command line tools to behave the way you want, I
expect getting SQuirreL and Java to do what you want should be easier.

--
RGB
 >> Stay informed about: MySql with Hebrew. 
Back to top
Login to vote
Mr. X.

External


Since: Dec 27, 2007
Posts: 35



(Msg. 6) Posted: Thu Apr 24, 2008 11:22 pm
Post subject: Re: MySql with Hebrew. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks ...

1. My question is for mysql & not derby.
2. I have tried the newsgroup comp.database.mysql - no one realy answer.
3. I will check the link you gave again, but since I watched that link, I
think I could not grasp what to do to solve Hebrew-problems as I've
mentioned.

Thanks Smile
 >> Stay informed about: MySql with Hebrew. 
Back to top
Login to vote
Mr. X.

External


Since: Dec 27, 2007
Posts: 35



(Msg. 7) Posted: Thu Apr 24, 2008 11:33 pm
Post subject: Re: MySql with Hebrew. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

....
O.K.
There is command :
show create database mydb.
results are (columns seperated by ",")
mydb, CREATE DATABASE `cashereg` /*!40100 DEFAULT CHARACTER SET latin1 */

....
Well it is not utf-8 character-set.

How can I change the above setting ?

Thanks Smile
 >> Stay informed about: MySql with Hebrew. 
Back to top
Login to vote
Lew

External


Since: Feb 15, 2008
Posts: 43



(Msg. 8) Posted: Thu Apr 24, 2008 11:33 pm
Post subject: Re: MySql with Hebrew. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Mr. X. wrote:
> ...
> O.K.
> There is command :
> show create database mydb.
> results are (columns seperated by ",")
> mydb, CREATE DATABASE `cashereg` /*!40100 DEFAULT CHARACTER SET latin1 */
>
> ...
> Well it is not utf-8 character-set.
>
> How can I change the above setting ?

Have you considered reading the documentation?
<http://dev.mysql.com/doc/refman/5.1/en/alter-database.html>

--
Lew
 >> Stay informed about: MySql with Hebrew. 
Back to top
Login to vote
Lew

External


Since: Feb 15, 2008
Posts: 43



(Msg. 9) Posted: Fri Apr 25, 2008 7:41 pm
Post subject: Re: MySql with Hebrew. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Mr. X. wrote:
> I think I am getting in progress :
> When I ran :
> *shell> mysqld-nt --character-set-server=hebrew*
> and not running mysqld as a windows' service (besides, how can I run a
> service with parameters ?)
>
> ... the select 'א' returns 'א' (I now see the hebrew).
>
> and also - what is the default ini-file, when I run the service with no
> parameters.

This is a Java newsgroup. While it's possible someone here might have an
answer, you'd be better off finding a group devoted to MySQL issues.

--
Lew
 >> Stay informed about: MySql with Hebrew. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
MySQL: going from 4.1 to 5.0.. - I have MySQL 4.1 installed in my machine (W2000), would like to upgrade to 5.0.. before I do that I need to know two things: 1) do I need to un-intall 4.1 first, and 2) what will happen to my DB's? if I un-install 4.1 will that also delete DB's? (I...

MySql installation. -

mysql path - Hello. If I create a new schema on mysql : Which folder is the schema created, and how external program "know" where the schema is ? Is there any general attitude, that I should know exactly where is the db file exists ? What is on connectio...

Sun buys out MySQL - Sun bought out opensource MySQL on 2008-02-28. http://mysql.com/news-and-events/sun/marten_mickos.html -- Roedy Green Canadian Mind Products The Java Glossary http://mindprod.com

use Squirrel-sql with MySql - Hello. I need some first step tutorial of using Squirrel-sql with MySql, please. Thanks :)
   Database Help (Home) -> Java All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]