OCLUG

MySQL

Resources and Install Procedures 

1. MySQL server and shell client

You can install from source:
 
Resource: http://www.mysql.com
Version: MySQL 3.22.32
Source files: mysql-3.22.32.tar.gz
Install Procedure: gunzip -c | tar xvf - Unpack file
cd mysql-[version] Change directory
./configure Run

OR You can install using RPM's for client & server:
Note: binary RPM's cannot be used for RedHat5.x, you must download 
the source RPMs, and build them.  They usually will be named: [filename]-src.rpm
 
Resource: http://www.mysql.com
Install Procedure:
 (Must install files in this order) 
rpm -Uvvh [filename].rpm 
Files: MySQL-3.22.32-1.i386.rpm Server for i386
MySQL-client-3.22.32-1.i386.rpm  Client for i386
MySQL-devel-3.22.32-1.i386.rpm Include files for i386
MySQL-shared-3.22.32-1.i386.rpm  Client shared libs for i386
MySQL-bench-3.22.32-1.i386.rpm 
(if you get an error message then you will have to 
install this file after you do the DBI and DBD below)
Benchmark utility for i386

At the completion of this step you will have access to the MySQL server and 'shell client'.
Access the client at the command line by:
% mysql -u root -p
which will put you at a prompt that looks like this:
mysql  >

 

2. DBI

Resource: http://www.cpan.org/modules/by-module/DBI or http://www.mysql.com/downloads/api-dbi.html
Version: DBI-1.09.tar.gz
Install Procedure: gunzip -c 'filename' | tar xvf -
cd DBI-1.09
perl Makefile.PL
make test
make install

 

3. DBD

Resource: http://www.cpan.org/modules/by-module/DBDn.org/modules/by-module/DBD
or http://www.mysql .com/downloads/api-dbi.html
Files: Msql-MySQL-modules-1.2208.tar.gz
Msql-MySQL-modules-1.2208.readme
Data-ShowTable-3.3.tar.gz
Data-ShowTable-3.3.readme
Install Procedure: gunzip -c 'filename' | tar xvf -
cd 'filename'
perl Makefile.PL
make
make test (optional)

 

4. Perl 5

Resource: http://public.ActiveState.com/gsar/
Files: (version 5.5 or greater) perl-5.6.1.tar.gz Necessary to run Perl DBI



Send updates, comments to linuxguru77 at yahoo dot com
Last updated: 18 June 2001

Tux Penguin

OCLUG


Home

Meetings

News

Hints & Tips

IRC

Links

Library

LUGNuts List

Subscribe

Other L.A. Area Lugs

Usergroup HOWTO
 
 

















































Powered by:
Powered by eRacks







Powered By Apache

Powered By Linux