Hi Amit,
Check this out:
http://jcole.us/blog/archives/2006/03/18/tips-hacking-mysql-server/
Regards,
Jeremy
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?
>
> Thanks,
> Amit
--
high performance mysql consulting
www.provenscaling.com