Charset-Problem

MySQL, PostgreSQL, SQLite
metrax
RSAC
Posts: 232
Joined: 2003-02-22 22:51
Location: München / Berg-am-Laim

Charset-Problem

Post by metrax » 2005-11-22 23:04

Hallo zusammen,

ich habe nun nach dem Update auf MySQL 4.1 bei jedem PHP Script was ich in der Konsole aufrufe folgenden Fehler:
File 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
Character set '#48' is not a compiled character set and is not specified in the 'NONEXISTENT/charsets/Index' file
File 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
Character set '#48' is not a compiled character set and is not specified in the 'NONEXISTENT/charsets/Index' file
Ich habe schon X mal danach gegoogelt, und 100te Ideen ausprobiert aber finde keine Lösung, woher dieser fehler kommen könnte.

Hat hier evt. noch jemand eine Idee?

Gruß
Metrax

philipp
Posts: 52
Joined: 2003-06-19 19:36
Location: Hannover

Re: Charset-Problem

Post by philipp » 2005-11-23 03:53

http://www.issociate.de/board/post/180171/'NONEXISTENT/charsets/__AND_recompiling_altered_module.html wrote:Hi,
here is the result of a execution of a script via command line.

File 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)
Character set '#30' is not a compiled character set and is not specified in the 'NONEXISTENT/charsets/Index' file

so, PHP must be recompiled to make it know here charsets are for mysql.
I am using precompiled package =FDf mysql on my Sarge system, also it is unofficial, so I
have not headers or development package.
so --with-mysql=3Dbla bla is not working at the moment for me, I have to use bundled one.

I decided to change source of mysql extension, the NONEXISTENT word is written on just one file and it is my_config.h.

I have changed "NONEXISTENT" to "/usr/share/mysql"

and used
make clean
make
make install
(no config change is needed but tried with reconfiguring also.)
Metrax wrote:Ich habe schon X mal danach gegoogelt, und 100te Ideen ausprobiert aber finde keine Lösung, woher dieser fehler kommen könnte.
Also, das Zitat da oben hab ich mir nicht aus dem Ã?rmel gezauebrt. ;)
hth

metrax
RSAC
Posts: 232
Joined: 2003-02-22 22:51
Location: München / Berg-am-Laim

Re: Charset-Problem

Post by metrax » 2005-11-23 08:47

mhhh, irgendwas mach ich falsch o_O

ok, danke, das werd ich gleich heute abend mal versuchen.