Where and how to download MySQL source code? -
i want download mysql source code. want install , compile within computer on linux environment. how can that? please me.
there few reasons other applying patches or learning's sake. if installing on other personal machine consider using distribution's package manager. the docs these supported platforms:
before proceed installation source, check whether oracle produces precompiled binary distribution platform , whether works you. put great deal of effort ensuring our binaries built best possible options optimal performance.
verify system satisfies tool requirements listed @ section 2.8, “installing mysql source”.
obtain distribution file using instructions in section 2.1.2, “how mysql”.
configure, build, , install distribution: exact steps required after installing correct tools , downloading source:
.
# preconfiguration setup shell> groupadd mysql shell> useradd -r -g mysql mysql # beginning of source-build specific instructions shell> tar zxvf mysql-version.tar.gz shell> cd mysql-version shell> cmake . shell> make shell> make install # end of source-build specific instructions # postinstallation setup shell> cd /usr/local/mysql shell> chown -r mysql . shell> chgrp -r mysql . shell> scripts/mysql_install_db --user=mysql shell> chown -r root . shell> chown -r mysql data shell> bin/mysqld_safe --user=mysql & # next command optional shell> cp support-files/mysql.server /etc/init.d/mysql.server
- perform postinstallation procedures using instructions in section 2.9, “postinstallation setup , testing”.
you don't specify os, so:
Comments
Post a Comment