facebook

getting error when connecting to My SQL database server

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #254865 Reply

    ajoysinha
    Member

    After configuring with J Connector driver , I am trying to connect to My SQL , but DB explorer is giving me the following error :

    Unknown Character Set “usa7”

    Please let me know how can I get read of it.

    Thanks in advance

    #254873 Reply

    Haris Peco
    Member

    ajoysinha ,

    I suppose that you have non-default encoding in database

    Try add encoding properties in URL, for example

    jdbc:mysql://<YOUR_HOST>:<YOUR_PORT>/<YOUR_DATABASE>?useUnicode=true&characterEncoding=UTF-8

    This is for UTF-8, but you can see complete syntax on

    http://dev.mysql.com/doc/refman/4.1/en/cj-configuration-properties.html

    Best regards
    Peco

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: getting error when connecting to My SQL database server

You must be logged in to post in the forum log in