• BOOKMARK

  • ADD TO FAVORITES

  • REFERENCES


  • MARC

    Mailing list ARChives
    - Search by -
     Subjects
     Authors
     Bodies





    FOLDOC

    Computing Dictionary




  • Text Link Ads






Installing MySQL using sources on Linux

Installing MySQL on Linux.

Installing MySQL using sources on Linux

New postby Ranman on Thu Mar 27, 2008 10:46 pm

# Move to /usr/local
cd /usr/local

# Get the following source:
http://dev.mysql.com/downloads/mysql/


# Decompress the sources:
tar -xvzf mysql-<version>.tar.gz

cd mysql-<version>
./configure
make
make install
scripts/mysql_install_db

adduser mysql
# In the file /etc/login.access add this line:
-:mysql:ALL
# So the user mysql never actualy logs in

# For Slackware:
chown -R mysql.users /usr/local/var
# For Redhat:
chown -R mysql.mysql /usr/local/var

mysqld_safe --user=mysql &

# Hit <Enter>
mysqladmin -u root password 'yourpasswordhere'
User avatar
Ranman
Site Admin
 
Posts: 25
Joined: Thu Mar 27, 2008 12:27 am

Re: Installing MySQL using sources on Linux

New postby Patton on Mon Jun 02, 2014 6:30 pm

Official Documation: Installing MySQL from Source
"If everyone is thinking alike, then somebody isn't thinking." - George S. Patton
User avatar
Patton
 
Posts: 18
Joined: Tue Dec 10, 2013 11:22 pm


Return to MySQL Linux Installation

Who is online

Users browsing this forum: No registered users and 0 guests

  • MORE RESOURCE


  • Linux

    The Distributions





    Linux

    The Software





    Linux

    The News



  • MARKETING






  • Toll Free
cron