>>>>> "Christos" == Christos J Pontikis <pontikis@stripped>
> writes:
Christos> Hello, greetings from Greece
Christos> I am using the below function to execute simple queries and handle errors (I
> am using MySQL 3.21.33).
Christos> I am writing a hellenic (greek) version of error messages. You can get it
> from http://www.medisign.gr/linux/errmsg.txt
Christos> It will be completed in one or two days.
Thanks!
Christos> The question is
Christos> *** Is it possible to connect to MySQL via DBI with the language option ?
> ***
Christos> ( something like mysqld --language=/usr/local/share/greek )
Not yet. This should however not be that hard to do if you are fluent
in C :)
Christos> In my server run Greek and English applications, so I need to respond to
> errors in different language per each connection.
Christos> If not, I will create a table 'err_table' with english and greek messages and
> I will respond according to DBI::err
Christos> Please, tell me something... When DBI::err returns 1062, I suppose that this
> is the 62th line in errmsg.txt.
Christos> Is it right ???
Yes.
Regards,
Monty