mysql installation from source

2001-06-21 Thread Aditya Dhekney

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




mysql installation from source

2001-06-21 Thread Aditya Dhekney


-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 have you
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 already in
use
010621 15:11:40  Do you already have another mysqld server running on port:
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 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




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