Hi!
On Jun 18, Amit k. Saha wrote:
> Hi all,
>
> I have built MySQL 5.1.24-rc on Linux and have got the binaries in
> /home/amit/work-space/mysql/mysql_install/
>
> Now, when I start the MySQL server daemon:
>
> amit@ubuntu804-laptop:~/work-space/mysql/mysql_install/libexec$ ./mysqld
>
> This is what I get:
>
>
> 080618 12:42:03 [ERROR] Can't find messagefile
> '/usr/share/mysql/english/errmsg.sys'
> 080618 12:42:03 [Warning] Can't create test file
> /var/lib/mysql/ubuntu804-laptop.lower-test
> 080618 12:42:03 [Warning] Can't create test file
> /var/lib/mysql/ubuntu804-laptop.lower-test
> ./mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 2)
> 080618 12:42:03 [ERROR] Aborting
>
> I believe I will have to over-ride the default locations to point to
> my custom installation directory.
>
> How do I do this?
There two possibilities - you can do it at build time, run
./configure --help
and see what it offers; or at run time, run
./mysqld --help --verbose
and see what it offers.
Regards / Mit vielen Grüssen,
Sergei
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@stripped>
/ /|_/ / // /\ \/ /_/ / /__ Principal Software Engineer/Server Architect
/_/ /_/\_, /___/\___\_\___/ Sun Microsystems GmbH, HRB München 161028
<___/ Sonnenallee 1, 85551 Kirchheim-Heimstetten
Geschäftsführer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Häring