469,271 Members | 1,020 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

MySQL Installation Challenges

SEND-PR: -*- send-pr -*-
SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
SEND-PR: will all comments (text enclosed in `<' and `>').
From: moyc
To: my***@lists.mysql.com
Subject: Installation challenges - mysqld
<I've never installed MySql before and I am having a little trouble with
the installation procedure. I have installed the binaries as described
in the manual for installation and I am able to start mysql through

$mysqld_safe --user mysql &
[root@laptop mysql]# Starting mysqld daemon with databases from
030812 13:24:04 mysqld ended

but you can see that the deamon has "ended" right away. This should not
happen, correct?

Then I go to connect to the server (locally) by entering in a mysqladmin
command to check the version and the output is below:

bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock'

It does not seem like the deamon is running at all when I go to check
(ps -aux | grep mysql). Any ideas. I am a little new to MySql.

Note: I have tried the latest version of MySQL and still get the same
problems but on a diff computer running the same OS (Linux RH 9.0)>
Fix: <how to correct or work around the problem, if known (multiple lines)>
Submitter-Id: <submitter ID>
Originator: Chris Moy
Organization: <organization of PR author (multiple lines)>MySQL support: [none]
Synopsis: <synopsis of the problem (one line)>
Severity: <non-critical>
Priority: <medium>
Category: mysql
Class: <support>
Release: mysql-3.23.54 (Source distribution) Environment:

<Linux Redhat 9.0>
System: Linux bioserver 2.4.20-18.9 #1 Thu May 29 07:08:16 EDT 2003 i686
i686 i386 GNU/Linux
Architecture: i686

Some paths: /usr/local/bin/perl /usr/bin/make /usr/bin/gmake
/usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/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.2 20030222 (Red Hat Linux 3.2.2-5)
Compilation info: CC='i386-redhat-linux-gcc' CFLAGS='-O2 -march=i386
CXX='i386-redhat-linux-g++' CXXFLAGS='-O2 -march=i386 -mcpu=i686 -g
-fno-exceptions' LDFLAGS=''
lrwxrwxrwx 1 root root 13 May 27 07:49 /lib/libc.so.6
-> libc-2.3.2.so
-rwxr-xr-x 1 root root 1549556 Mar 13 19:43
-rw-r--r-- 1 root root 2321376 Mar 13 18:35 /usr/lib/libc.a
-rw-r--r-- 1 root root 204 Mar 13 17:58 /usr/lib/libc.so
lrwxrwxrwx 1 root root 10 May 27 08:36
/usr/lib/libc-client.a -> c-client.a
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-includes=/usr/include'
'--with-berkeley-db-libs=/usr/lib' '--enable-thread-safe-client'
'CFLAGS=-O2 -march=i386 -mcpu=i686 -g -D_GNU_SOURCE
-fno-rtti -fno-exceptions' 'build_alias=i386-redhat-linux'
'host_alias=i386-redhat-linux' 'target_alias=i386-redhat-linux-gnu'

MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
0 1936

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Aditya Ivaturi | last post: by
reply views Thread by Chris Moy | last post: by
reply views Thread by Murphy | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.