Find the answer to your Linux question:
Results 1 to 6 of 6
Hello, Myself Mahesh,I am trying to install mysql-3.23.42.tar.gz from sources on RHEL3.0 work stationm, but I am not getting success in that so help me to come out from this. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    24

    How to install mysql-3.23.42.tar.gz


    Hello,
    Myself Mahesh,I am trying to install mysql-3.23.42.tar.gz from sources on RHEL3.0 work stationm, but I am not getting success in that so help me to come out from this.
    here is procedure which I follow
    1) copy sources in /opt dir
    2)useradd -g mysql mysql
    3)groupadd mysql
    4)tar -xvzf mysql-3.23.42.tar.gz
    5)cd mysql-3.23.42
    5)./configure --prefix-/usr/local/mysql
    6)make
    7)make install
    after this I am getting error like this
    [1]*** make leaving dir /usr/local/mysql
    [1]*** make (all recurse) error 1
    may possible error statment have some variation, but let me clear can I am following correct procedure? clear me ....
    Regards-
    Mahesh

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    Don't know about the error in make though, but shouldn't you first create a group and afterwards add the user? Makes sense, no?
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  3. #3
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    not that version but with a newer version, here is the best guide for installing I have found
    http://www.devside.net/web/server/linux/mysql

    worked very well for me

  4. #4
    Just Joined!
    Join Date
    Apr 2005
    Posts
    24

    mysql installation

    HI Borromini,/Jledhead ,
    Correct it makes senses, to add a group before adding user but I did mistake here only,
    Not on console, in fact we canít add user with option Ėg with out having group of that name. But I will remember from today onwards..
    Jledhead, I will try your method.. Really.. http://www.devside.net/web/server/linux/mysql This is very nice document.
    Thanks for this.

    Regards-
    Mahesh

  5. #5
    Just Joined!
    Join Date
    Apr 2005
    Posts
    24

    mysql Installation

    Hi,
    Just some time before I install mysql-standard-4.0.23-pc-linux-i686.tar.gz
    but still I have query
    when I enter a command /usr/local/mysql/bin]#./mysqladmin -u mysql
    /usr/local/mysql/bin]#./mysqladmin -u mysql]./mysqladmin -umysql -pmysql shuntdown it shows me massage just like..
    Check that mysqld is running and that the socket:'/tmp/mysql.sock' exists!
    ./mysqladmin -u mysql -pmysql extended-status
    ./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' exists !
    by the same time result for nmap localhost cmd --It shows mysql on port :3306/tcp so is it correct and what is that error and How to remove that
    Mahesh

  6. #6
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    #ps aux
    see if mysql is running

    also try #mysqladmin -u mysql -p shutdown

    it should then ask for a password, enter the password and continue

    also try #mysqladmin -u root -p shutdown
    and enter the password (unless you have changed it probably blank)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •