post installation problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nick Keeling

    post installation problem

    --=_48167406.4627 091C
    Content-Type: text/plain; charset=US-ASCII
    Content-Transfer-Encoding: 7bit

    I am a MySQL newbie with a post installation problem. I have Linux Red
    Hat 9 with MySQL 4.0. After installing MySQL, I can not for the life of
    me get the mysql daemon to run. My installation directory is
    /usr/local/mysql but it wants to open a database from /var/lib/mysql.
    Obviously something is not set right. Any help would be greatly
    appreciated.

    Nick

    Oh, and I can not find ANY log files anywhere (/var/lib or
    /usr/local/mysql/data).

    Here are some messages:
    [root@localhost mysql]# pwd
    /usr/local/mysql
    [root@localhost mysql]# bin/safe_mysqld --console
    Starting mysqld daemon with databases from /var/lib/mysql
    030710 20:52:14 mysqld ended
    [root@localhost mysql]# support-files/mysql.server start
    Can't execute ./bin/mysqld_safe from dir /var/lib
    [root@localhost mysql]# env
    HOSTNAME=localh ost.localdomain
    TERM=xterm
    SHELL=/bin/bash
    HISTSIZE=1000
    SSH_CLIENT=216. 221.96.219 38781 22
    OLDPWD=/usr/local/mysql/bin
    SSH_TTY=/dev/pts/2
    USER=root
    LS_COLORS=no=00 :fi=00:di=00;34 :ln=00;36:pi=40 ;33:so=00;35:bd =40;33;01:cd=40 ;33;0
    1:or=01;05;37;4 1:mi=01;05;37;4 1:ex=00;32:*.cm d=00;32:*.exe=0 0;32:*.com=00;3 2:*.b
    tm=00;32:*.bat= 00;32:*.sh=00;3 2:*.csh=00;32:* .tar=00;31:*.tg z=00;31:*.arj=0 0;31:
    *.taz=00;31:*.l zh=00;31:*.zip= 00;31:*.z=00;31 :*.Z=00;31:*.gz =00;31:*.bz2=00 ;31:*
    ..bz=00;31:*.tz =00;31:*.rpm=00 ;31:*.cpio=00;3 1:*.jpg=00;35:* .gif=00;35:*.bm p=00;3
    5:*.xbm=00;35:* .xpm=00;35:*.pn g=00;35:*.tif=0 0;35:
    LD_LIBRARY_PATH =/usr/local/BerkeleyDB.4.1/lib
    USERNAME=root
    MAIL=/var/spool/mail/root
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
    :/root/bin
    INPUTRC=/etc/inputrc
    PWD=/usr/local/mysql
    LANG=en_US.UTF-8
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SHLVL=1
    HOME=/root
    BASH_ENV=/root/.bashrc
    LOGNAME=root
    SSH_CONNECTION= 216.221.96.219 38781 192.168.0.2 22
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    G_BROKEN_FILENA MES=1
    _=/bin/env



    --=_48167406.4627 091C--
Working...