Re: mysql installation from source

2001-06-21 Thread Steve Brazill


You have some 'odd' options in your configuration 
line...Have you tried using a 'simple' configuration to see if it will 
buildproperly ?    ./configure 
--prefix=/apps/mysqlAre you in the "/apps/mysql" directory when you run 
"mysql_install_db" ??(you should actually be typing "./bin/mysql_install_db" 
)If you're getting the message "Can't start server: Bind on TCP/IP 
port:Address already in use, Do you already have another mysqld server 
running onport: 3306"  did you check to see if you DO have it running 
already ? (type"ps -ef | grep mysql" )I have attached my 'build' and 
'configure' webdocs for MySQL.   Thedirectory 'paths' will be 
different than yours, but the rest should coverwhat you should be 
doing...  (I've never had a problembuilding/installing/running MySQL on 
any RedHat 6.2 system).  Look closelyat the permission settings I 
use.- Original Message -From: "Aditya Dhekney" 
<[EMAIL PROTECTED]>To: "'Steve Brazill'" <[EMAIL PROTECTED]>; 
<,[EMAIL PROTECTED]>Sent: Thursday, June 21, 2001 12:50 
PMSubject: RE: mysql installation from source>> 
-----Original Message-----> From: Steve Brazill 
[mailto:[EMAIL PROTECTED]]> Sent: Thursday, June 21, 2001 3:38 PM> 
To: Aditya Dhekney> Cc: [EMAIL PROTECTED]> Subject: Re: mysql 
installation from source>>> Could you list (exactly) what 
commands you are using to 'unpack',> 'configure', 'build', and 'install' 
the distribution (which package haveyou> downloaded ?) 
??>>> i'm using mysql-3.23.39.tar.gz>> these 
are the EXACT commands i used:>> tar -zxvf 
mysql-3.23.39.tar.gz>> cd mysql-3.23.39>> 
CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -f> no-exceptions 
-fno-rtti"./configure --prefix=/apps/mysql --enable-assembler> 
--> with-mysqld-ldflags=-all-static>> make>> 
make install>> scripts/mysql_install_db>> chown -R 
root /apps/mysql/>> chown -R mysql /apps/mysql/var>> 
chgrp -R mysql /apps/mysql/>> /apps/mysql/bin/safe_mysqld 
--user=mysql &>> (this is where i get the first error (mysqld 
ended)>> in my host.err file, i get this:> 010621 
15:11:40  mysqld started> 010621 15:11:40  Can't start server: 
Bind on TCP/IP port: Address alreadyin> use> 010621 
15:11:40  Do you already have another mysqld server running 
onport:> 3306>  ?> 010621 15:11:40  
Aborting>> 010621 15:11:40  /apps/mysql/libexec/mysqld: 
Shutdown Complete>> 010621 15:11:40  mysqld 
ended>> BUT, when i run ps, mysqld is NOT 
listed...:(>> I get the "check if tmp/mysql.sock exists" error 
when i try to use> mysqladmin tool.>> should i be concerned 
about the message that says to check tmp/mysql.sock?>> 
Thanks,> Aditya> - Original Message -> From: 
"Aditya Dhekney" <[EMAIL PROTECTED]>> To: 
<[EMAIL PROTECTED]>> Sent: Thursday, June 21, 2001 12:19 
PM> Subject: mysql installation from source>>> > 
Hi,> > I have been trying to install mysql on my server for way too 
long now!my> > system specs are: intel i686, with linux 6.2 
loaded.> >> > I think i once did get the installation to 
work almost correctly, or at> > least more correctly than it does 
now...> >> > the problem:  when i compile/make etc., i 
get no errors at all, so...you> may> > think...this is good! 
BUT, unfortunately every time i do this, there isno> > mysql.sock 
file in the /tmp/ directory...infact, it's nowhere on the> > 
system!!!  why would this be the case? where is it? and why doesn't 
the> > setup create it?  can someone PLEASE suggest what i can 
do...i'm out of> > ideas as to what could be causing this 
problem!> >> > Thanks in advance,> > Aditya 
Dhekney> > [EMAIL PROTECTED]> >

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


RE: mysql installation from source

2001-06-21 Thread Aditya Dhekney



-Original Message-
From: Cal Evans [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 3:31 PM
To: Aditya Dhekney; [EMAIL PROTECTED]
Subject: Re: mysql installation from source


I think mysql.sock gets created once you start the server. Have you tried
starting it and then looking in /tmp?

Cal

yes, i've tried that...i think..

when i run: bin/safe_mysqld &
i get: [root@oddjob mysql]# Starting mysqld daemon with databases from
/apps/mysql/var
010621 15:53:49  mysqld ended

thanks again, 
aditya
*
* Cal Evans
* Senior Internet Dreamer
* http://www.calevans.com
*
- Original Message -
From: "Aditya Dhekney" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 2:19 PM
Subject: mysql installation from source


> Hi,
> I have been trying to install mysql on my server for way too long now!  my
> system specs are: intel i686, with linux 6.2 loaded.
>
> I think i once did get the installation to work almost correctly, or at
> least more correctly than it does now...
>
> the problem:  when i compile/make etc., i get no errors at all, so...you
may
> think...this is good! BUT, unfortunately every time i do this, there is no
> mysql.sock file in the /tmp/ directory...infact, it's nowhere on the
> system!!!  why would this be the case? where is it? and why doesn't the
> setup create it?  can someone PLEASE suggest what i can do...i'm out of
> ideas as to what could be causing this problem!
>
> Thanks in advance,
> Aditya Dhekney
> [EMAIL PROTECTED]
>
> -
> Before posting, please check:
>http://www.mysql.com/manual.php   (the manual)
>http://lists.mysql.com/   (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: mysql installation from source

2001-06-21 Thread Steve Brazill

Could you list (exactly) what commands you are using to 'unpack',
'configure', 'build', and 'install' the distribution (which package have you
downloaded ?) ??

- Original Message -
From: "Aditya Dhekney" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 12:19 PM
Subject: mysql installation from source


> Hi,
> I have been trying to install mysql on my server for way too long now!  my
> system specs are: intel i686, with linux 6.2 loaded.
>
> I think i once did get the installation to work almost correctly, or at
> least more correctly than it does now...
>
> the problem:  when i compile/make etc., i get no errors at all, so...you
may
> think...this is good! BUT, unfortunately every time i do this, there is no
> mysql.sock file in the /tmp/ directory...infact, it's nowhere on the
> system!!!  why would this be the case? where is it? and why doesn't the
> setup create it?  can someone PLEASE suggest what i can do...i'm out of
> ideas as to what could be causing this problem!
>
> Thanks in advance,
> Aditya Dhekney
> [EMAIL PROTECTED]
>
> -
> Before posting, please check:
>http://www.mysql.com/manual.php   (the manual)
>http://lists.mysql.com/   (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: mysql installation from source

2001-06-21 Thread Cal Evans

I think mysql.sock gets created once you start the server. Have you tried
starting it and then looking in /tmp?

Cal
*
* Cal Evans
* Senior Internet Dreamer
* http://www.calevans.com
*
- Original Message -
From: "Aditya Dhekney" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 2:19 PM
Subject: mysql installation from source


> Hi,
> I have been trying to install mysql on my server for way too long now!  my
> system specs are: intel i686, with linux 6.2 loaded.
>
> I think i once did get the installation to work almost correctly, or at
> least more correctly than it does now...
>
> the problem:  when i compile/make etc., i get no errors at all, so...you
may
> think...this is good! BUT, unfortunately every time i do this, there is no
> mysql.sock file in the /tmp/ directory...infact, it's nowhere on the
> system!!!  why would this be the case? where is it? and why doesn't the
> setup create it?  can someone PLEASE suggest what i can do...i'm out of
> ideas as to what could be causing this problem!
>
> Thanks in advance,
> Aditya Dhekney
> [EMAIL PROTECTED]
>
> -
> Before posting, please check:
>http://www.mysql.com/manual.php   (the manual)
>http://lists.mysql.com/   (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php