Mysql entry-level series: obtain and install the samp_db sample database distribution package to set and access the file of the samp_db sample database. you can obtain the following URL:
Http://www.mysql.com/Contrib/Examples/
Retrieve the distribution package file samp_db. t a r. g z, enter the directory where you want to install it, and open it with one of the following commands:
% Tar zxf samp_db.tar.gz
% Gunzip <samp_db.tar.gz | tar xf
When you open the distribution package, it will create a directory named samp_db, containing the following content:
? Create and load the samp_db database file. They are used in chapter 1st.
? The C program used in chapter 6th.
? The Perl DBI script and samp_db.cnf option file used in chapter 7th.
? The PHP script and samp_db.inc used in chapter 8th contain files.
The samp_db directory contains a README file. for details, refer to the instructions on using the package file.