--- On Tue, 23/3/10, Sergei Golubchik <sergii@stripped> wrote:
> From: Sergei Golubchik <sergii@stripped>
> Subject: Re: MySQL execution
> To: "Karthik Gurukuntala" <kgurukuntala@stripped>
> Cc: internals@stripped
> Date: Tuesday, 23 March, 2010, 8:48 AM
> Hi, Karthik!
> On Mar 23, Karthik Gurukuntala wrote:
> > > --- On Mon, 22/3/10, Patrick Galbraith <patg@stripped>
> > > wrote:
> > >
> > > > From: Patrick Galbraith <patg@stripped>
> > > > Subject: Re: MySQL execution
> > > > To: "Karthik Gurukuntala" <kgurukuntala@stripped>
> > > > Cc: internals@stripped
> > > > Date: Monday, 22 March, 2010, 5:10 PM
> > > > Karthik Gurukuntala wrote:
> > > > > how to execute the compiled mysql
> without make install, always?
> > > > >
> > > > Karthik,
> > > >
> > > > You should example MySQL's options for
> execution "mysqld --help
> > > > --verbose" and use the proper options for
> your setups.
> > > >
> > > > For a better situation, I would suggest that
> if you are averse to
> > > > installing MySQL system-wide,to at least
> install MySQL locally
> > > > using "./configure
> --prefix=/home/karthik/mysql_testdir" (chose
> > > > a name of your liking) and run it from
> > > >
> > Doesnt that require 'make install' at that
> > everytime i re-compile the source with some
> > changes?(Actually am debugging the code to learn
> > aggregation operations' execution.)
> It does. But you can do 'make install' once, then delete
> the installed
> mysqld and replace it with a symlink to your mysqld binary
> in the source
> tree. Then you won't need to install anymore, recompile and
I am now installing mysql locally as suggested earlier. Then, will do the symlink as
However, when I try this
# bin/mysql_install_db --user=mysql
...this error is got.(First few lines...)
Installing MySQL system tables...
ERROR: 1 Can't create/write to file '/home/albert/install/mysql/var/mysql/db.MYI'
100324 23:46:05 [ERROR] Aborting
100324 23:46:05 [Note] /home/albert/install/mysql/libexec/mysqld: Shutdown complete
Installation of system tables failed! Examine the logs in
/home/albert/install/mysql/var for more information.
And there are no log files as told in the error message.
What's wrong am I doing here?
I follow the steps under '2.10.1 Source Installation Overview' in the INSTALL-SOURCE file
that is in the source root folder.
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.