Prev | Current Page 721 | Next

W. Jason Gilmore

"Beginning PHP and MySQL: From Novice to Professional"


%>chgrp -R mysql .
%>scripts/mysql_install_db --user=mysql
%>chown -R root .
%>chown -R mysql data
That??™s it! Proceed to the section ???Setting the MySQL Administrator Password.???
The Source Installation Process
The MySQL developers have gone to great lengths to produce optimized RPMs and
binaries for a wide array of operating systems, and you should use them whenever
possible. However, if you are working with a platform for which no binary exists,
require a particularly exotic configuration, or happen to be a rather controlling individual,
then you also have the option to install from source. The process is actually
only slightly longer than the binary installation procedure.
The source installation process is indeed somewhat more complicated than
installing binaries or RPMs. For starters, you should possess at least rudimentary
knowledge of how to use build tools like GNU gcc and make, and you should have
them installed on your operating system. It??™s assumed that if you??™ve chosen to not
CHAPTER 2 6 ?–  INSTAL L ING AND CONFIGURING MYSQL 641
heed the advice to use the binaries, you know all of this already. Therefore, just the
installation instructions are provided, with no corresponding explanation:
1. Create the necessary group and owner:
%>groupadd mysql
%>useradd ??“g mysql mysql
2. Decompress the software to the intended directory. Using the GNU gunzip and
tar programs is recommended.


Pages:
709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733