![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
how to execute the compiled mysql without make install, always? The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ Karthik, |
#3
| |||
| |||
|
|
--- On Mon, 22/3/10, Patrick Galbraith <patg (AT) patg (DOT) net wrote: From: Patrick Galbraith <patg (AT) patg (DOT) net Subject: Re: MySQL execution To: "Karthik Gurukuntala" <kgurukuntala (AT) yahoo (DOT) com Cc:internals (AT) lists (DOT) mysql.com Date: Monday, 22 March, 2010, 5:10 PM Karthik Gurukuntala wrote: how to execute the compiled mysql without make install, always? * * ***TheINTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ *** 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 laking) and run it from there. regards, Patrick Doesnt that require 'make install' at that location |
#4
| |||
| |||
|
|
--- On Mon, 22/3/10, Patrick Galbraith <patg (AT) patg (DOT) net wrote: From: Patrick Galbraith <patg (AT) patg (DOT) net Subject: Re: MySQL execution To: "Karthik Gurukuntala" <kgurukuntala (AT) yahoo (DOT) com Cc: internals (AT) lists (DOT) mysql.com 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 there. Doesnt that require 'make install' at that location everytime i re-compile the source with some changes?(Actually am debugging the code to learn some aggregation operations' execution.) |
#5
| |||
| |||
|
|
how to execute the compiled mysql without make install, always? |
#6
| |||
| |||
|
|
--- On Mon, 22/3/10, Patrick Galbraith <patg (AT) patg (DOT) net wrote: From: Patrick Galbraith <patg (AT) patg (DOT) net Subject: Re: MySQL execution To: "Karthik Gurukuntala" <kgurukuntala (AT) yahoo (DOT) com Cc: internals (AT) lists (DOT) mysql.com Date: Monday, 22 March, 2010, 5:10 PM Karthik Gurukuntala wrote: how to execute the compiled mysql without make install, always? The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ 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 laking) and run it from there. regards, Patrick Doesnt that require 'make install' at that location |
#7
| |||
| |||
|
|
From: Sergei Golubchik <sergii (AT) pisem (DOT) net Subject: Re: MySQL execution To: "Karthik Gurukuntala" <kgurukuntala (AT) yahoo (DOT) com Cc: internals (AT) lists (DOT) mysql.com Date: Tuesday, 23 March, 2010, 8:48 AM Hi, Karthik! On Mar 23, Karthik Gurukuntala wrote: --- On Mon, 22/3/10, Patrick Galbraith <patg (AT) patg (DOT) net wrote: From:Patrick Galbraith <patg (AT) patg (DOT) net Subject: Re: MySQL execution To: "Karthik Gurukuntala" <kgurukuntala (AT) yahoo (DOT) com Cc:internals (AT) lists (DOT) mysql.com 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 yoursetups. 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 there. * Doesnt that require 'make install'at that location * everytime i re-compile the source with some * changes?(Actually am debugging the code to learn some * 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 run. Regards, Sergei |
#8
| |||
| |||
|
|
From: Karthik Gurukuntala <kgurukuntala (AT) yahoo (DOT) com Subject: Re: MySQL execution To: "Sergei Golubchik" <sergii (AT) pisem (DOT) net Cc: internals (AT) lists (DOT) mysql.com Date: Tuesday, 23 March, 2010, 12:52 PM --- On Tue, 23/3/10, Sergei Golubchik <sergii (AT) pisem (DOT) net wrote: From: Sergei Golubchik <sergii (AT) pisem (DOT) net Subject: Re: MySQL execution To: "Karthik Gurukuntala" <kgurukuntala (AT) yahoo (DOT) com Cc: internals (AT) lists (DOT) mysql.com Date: Tuesday, 23 March, 2010, 8:48AM Hi, Karthik! On Mar 23, Karthik Gurukuntala wrote: --- On Mon, 22/3/10, Patrick Galbraith patg (AT) patg (DOT) net wrote: From: Patrick Galbraith <patg (AT) patg (DOT) net Subject: Re: MySQL execution To: "Karthik Gurukuntala" <kgurukuntala (AT) yahoo (DOT) com Cc: internals (AT) lists (DOT) mysql.com 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 there. * Doesnt thatrequire 'make install' at that location * everytime i re-compile the source with some * changes?(Actually am debugging the code to learn some * 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 run. * Regards, Sergei Ok... so, is it the mysqld.o(inside workdir/sql) which gets created after make in the source, the binary of the new mysqld, that I have to symlink to 'mysqld_safe' in '/home/karthik/install/mysql/bin/' ? my source is in '/home/karthik/source/workdir'. Regards, -Karthik I get that the above point i said is wrong.That, mysqld.o being the binary for mysqld.... |
#9
| |||
| |||
|
|
Ok... so, is it the mysqld.o(inside workdir/sql) which gets created after make in the source, the binary of the new mysqld, that I have to symlink to 'mysqld_safe' in '/home/karthik/install/mysql/bin/' ? my source is in '/home/karthik/source/workdir'. Regards, -Karthik I get that the above point i said is wrong.That, mysqld.o being the binary for mysqld.... Where is the binary of the mysqld in the source tree located? I am working on source mysql 5.5.1 m2. |
#10
| |||
| |||
|
|
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 run. Ok... so, is it the mysqld.o(inside workdir/sql) which gets created after make in the source, the binary of the new mysqld, that I have to symlink to 'mysqld_safe' in '/home/karthik/install/mysql/bin/' ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |