ZoombyWoof <zoombywoofremove@thishotmail.com> wrote:
> I am working on a wrapper ( a dll made in C using the C-api) around the
> MySQL-api in order to be able to use the embedded server from C#
> ... the mysql-init-server wants to
> open a errmsg.sys file which it wants to be located at
> "c:\mysql\share\english".
>
> How can I avoid this ? Is there some option to tell the embedded server
> routines that I want this file someplace else ?
RTFM:
http://dev.mysql.com/doc/refman/4.1/...d-options.html
The messages file is looked up in <basedir>\share\english. So you may
want to set the --basedir option when calling mysql_server_init()
XL
--
Axel Schwenke, Senior Software Developer, MySQL AB
Online User Manual:
http://dev.mysql.com/doc/refman/5.0/en/
MySQL User Forums:
http://forums.mysql.com/