Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to install mysql-3.23.42.tar.gz

    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
    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 ....

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    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?
    Debian Jessie x86_64 & armhf :: LibreELEC is the solution for your Linux-based HTPC setups.

  3. #3
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    North Carolina
    not that version but with a newer version, here is the best guide for installing I have found

    worked very well for me

  4. $spacer_open
  5. #4

    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 cant 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.. This is very nice document.
    Thanks for this.


  6. #5

    mysql Installation

    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

  7. #6
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    North Carolina
    #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