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?
>
Hi
You can try the mysqld_safe script and the --basedir option. See
http://dev.mysql.com/doc/refman/5.0/en/mysqld-safe.html
Regards
Vangelis Katsikaros
__________________________________________________
×ñçóéìïðïéåßôå
Yahoo!;
ÂáñåèÞêáôå ôá
åíï÷ëçôéêÜ
ìçíýìáôá (spam); Ôï
Yahoo! Mail äéáèÝôåé
ôçí êáëýôåñç
äõíáôÞ
ðñïóôáóßá
êáôÜ ôùí
åíï÷ëçôéêþí
ìçíõìÜôùí
http://mail.yahoo.gr