List:Internals« Previous MessageNext Message »
From:Vangelis Katsikaros Date:June 18 2008 8:03am
Subject:Re: Building MySQL 5.1.24-rc on Linux from sources
View as plain text  
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 

Thread
Building MySQL 5.1.24-rc on Linux from sourcesAmit k. Saha18 Jun
  • Re: Building MySQL 5.1.24-rc on Linux from sourcesSergei Golubchik18 Jun
    • Re: Building MySQL 5.1.24-rc on Linux from sourcesAmit k. Saha18 Jun
      • Re: Building MySQL 5.1.24-rc on Linux from sourcesSergei Golubchik18 Jun
        • Re: Building MySQL 5.1.24-rc on Linux from sourcesAmit k. Saha18 Jun
  • Re: Building MySQL 5.1.24-rc on Linux from sourcesVangelis Katsikaros18 Jun
  • Re: Building MySQL 5.1.24-rc on Linux from sourcesJeremy Cole18 Jun
  • Re: Building MySQL 5.1.24-rc on Linux from sourcesStewart Smith19 Jun