UTF-8 problem with Win32 and MySQL 4.1.10
"Torben K. Jensen" <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
Perl 5.8.6, DBI 1.47, DBD::mysql 2.9003, MySQL 4.1.10-nt
MySQL is configured to use UTF-8 as default charset.
This is the code:
use utf8;
use DBI;
use constant DBNAME => "mydb";
use constant DBHOST => "localhost";
use constant DBUSER => "me";
use constant DBPASS => "password";
my $dbh = DBI->connect("DBI:mysql:database=" . DBNAME . ";host=" .
DBHOST, DBUSER, DBPASS);
And this is the error I get:
File 'C:\mysql\\share\charsets\?.conf' not found (Errcode: 2)
Character set '#33' is not a compiled character set and is not specified
in the 'C:\mysql\\share\charsets\Index' file
As far as I'm aware, there has never been a charset #33. I have to admit
that I'm completely in the dark, here. Any ideas?
Thanks in advance,
Torben
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/[email protected]