MyODBC can't initialize character set problem ...

2001-01-31 Thread Bartlomiej Czardybon

Hi

I'm trying to compile to MySQL latin2 sorting and cp1250_latin2 
character set conversion.

I've compiled mysql-3.23.31 with these configure options:
--without-debug \
--without-readline \
--enable-shared \
--with-extra-charsets=complex \
--without-bench \
--localstatedir=/var/lib/mysql \
--with-unix-socket-path=/var/lib/mysql/mysql.sock \
--with-mysqld-user="mysql" \
--with-extra-charsets=all \
--with-charset=latin2

I #define DEFINE_ALL_CHARACTER_SETS in convert.cc.

I connect to the server with MyODBC 2.50.36 and I get error:

--
[TCX] [MyODBC] Can't initialize character set 9 
(path: c:\mysql\share\charsets) (#2019)
--

and I can't connect - of course.

There is no directory c:\mysql in default MyODBC Win95 installation ... 

What am I doing wrong ?
-- 
Bartlomiej Czardybon, Dzial obslugi serwerow   PIK-Net Sieci Rozlegle
Toszecka 102, Gliwice Poland, +48 32 338-33-00 czar AT pik-net.pl

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: MyODBC can't initialize character set problem ...

2001-01-31 Thread Bart Czardybon

On Wed, Jan 31, 2001 at 02:25:14PM +0100, Bartlomiej Czardybon wrote:
 
 --
 [TCX] [MyODBC] Can't initialize character set 9 
 (path: c:\mysql\share\charsets) (#2019)
 --
 
 There is no directory c:\mysql in default MyODBC Win95 installation ... 
 

In MyODBC Readme file there is a sentence:
---
Some common problems:
[cut]
- If you are connecting to a server with a character set that isn't compiled
  into the MySQL client library (the defaults are:
  latin1 big5 czech euc_kr gb2312 gbk sjis tis620 ujis
  ) then you need to install the mysql character definitions from the
  charsets directory into the c:\mysql\share\charsets.
---

What does the author mean by 'you need to install the mysql character
definitions fro the charsets directory into the c:\mysql\share\charsets ?

I've just done it (copied 'charsets' directory from unix
server path: /usr/share/mysql/charsets) but it still does not work ... :(

TIA for any help,
-- 
Bartlomiej Czardybon PIK-Net Sieci Rozlegle
e-mail: czar AT pik-net.pl   BC374-RIPE

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php