List:General Discussion« Previous MessageNext Message »
From:John Brown Date:March 23 2004 7:18pm
Subject:Trouble Starting DB - First Time Installer
View as plain text  
I am a total linux and mysql newb, I am preparing this info as best as 
possible.  Below is the output from the mysqlbug utility.
I followed the directions for installing mysql  based on this page

From: root
To: mysql@stripped
Subject: [50 character or so descriptive subject here (for reference)]

	trying to start DB,....

[root@rhfury mysql]# bin/mysqld_safe --user=mysql &
[1] 8402
[root@rhfury mysql]# Starting mysqld daemon with databases from 
040323 11:00:07  mysqld ended

[1]+  Done                    bin/mysqld_safe --user=mysql
[root@rhfury mysql]#

I only get the last two lines after pressing Enter, otherwise the cursor 
simply blinks until I do.

I run this to test if the DB is up or not

[root@rhfury mysql]# bin/mysqladmin version
bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' 
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
[root@rhfury mysql]#

	I can repeat it consistantly.  From what I can tell, I have never gotten 
the DB to start
	I checked to see if the /tmp/mysql.sock file exists, and it does not.  I 
have been looking through the documentation on how to create the file, but 
have failed to find anything (which doesnt mean it isnt there somewhere)  I 
may have other problems, but I figure getting this file where it is supposed 
to be will be a good start.  I have gone through the installation process 
two times now with the same results.

thank you

>Submitter-Id:	<submitter ID>
>Originator:	root
<organization of PR author (multiple lines)>
>MySQL support: [none | licence | email support | extended email support ]
>Synopsis:	<synopsis of the problem (one line)>
>Severity:	<[ non-critical | serious | critical ] (one line)>
>Priority:	<[ low | medium | high ] (one line)>
>Category:	mysql
>Class:		<[ sw-bug | doc-bug | change-request | support ] (one line)>
>Release:	mysql-3.23.58 (Source distribution)

	<machine, os, target, libraries (multiple lines)>
System: Linux rhfury 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 
i386 GNU/Linux
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc 
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
Compilation info: CC='i386-redhat-linux-gcc'  CFLAGS='-O2 -g -pipe 
-march=i386 -mcpu=i686 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE'  CXX='i386-redhat-linux-g++'  CXXFLAGS='-O2 -g -pipe 
-march=i386 -mcpu=i686 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -fno-rtti -fno-exceptions'  LDFLAGS=''
lrwxr-xr-x    1 root     root           13 Feb 14 22:39 /lib/ ->
-rwxr-xr-x    1 root     root      1564956 Oct  2 17:51 /lib/
-rw-r--r--    1 root     root      2461044 Oct  2 15:43 /usr/lib/libc.a
-rw-r--r--    1 root     root          204 Oct  2 15:21 /usr/lib/
Configure command: ./configure '--host=i386-redhat-linux' 
'--build=i386-redhat-linux' '--target=i386-redhat-linux-gnu' 
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' 
'--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' 
'--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' 
'--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--without-readline' '--without-debug' 
'--enable-shared' '--with-extra-charsets=complex' '--with-bench' 
'--with-mysqld-user=mysql' '--with-extra-charsets=all' '--with-innodb' 
'--enable-local-infile' '--enable-large-files=yes' '--enable-largefile=yes' 
'--with-berkeley-db-libs=/usr/lib' '--enable-thread-safe-client' 'CFLAGS=-O2 
-g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE' 'CXXFLAGS=-O2 -g -pipe -march=i386 -mcpu=i686 
-fno-exceptions' 'build_alias=i386-redhat-linux' 
'host_alias=i386-redhat-linux' 'target_alias=i386-redhat-linux-gnu'SEND-PR: 
-*- send-pr -*-
-D_LARGEFILE_SOURCE' 'CXXFLAGS=-O2 -g -pipe -march=i386 -mcpu=i686 
-fno-exceptions' 'build_alias=i386-redhat-linux' 
'host_alias=i386-redhat-linux' 'target_alias=i386-redhat-linux-gnu'

Free up your inbox with MSN Hotmail Extra Storage. Multiple plans available.

Trouble Starting DB - First Time InstallerJohn Brown23 Mar
  • Re: Trouble Starting DB - First Time InstallerEgor Egorov23 Mar
Re: Trouble Starting DB - First Time InstallerJohn Brown23 Mar
RE: Trouble Starting DB - First Time InstallerJohn Brown24 Mar
  • RE: Trouble Starting DB - First Time InstallerJ.R. Bullington24 Mar
RE: Trouble Starting DB - First Time InstallerJohn Brown24 Mar