Binary packages you may wish to try (unsupported): 
http://www.mysql.com/downloads/mysql-3.23.html 

Download the source from:

http://www.mysql.com/Downloads/MySQL-3.23/mysql-3.23.44.tar.gz

This link is actually a list of mirrors from which you may download the source.
If you are in the US, you can just download it directly from:

 http://mirror.sit.wisc.edu/mysql/Downloads/MySQL-3.23/mysql-3.23.44.tar.gz


# tar zxvf mysql-3.23.44.tar.gz

# cd mysql-3.23.44

if you are just installing the libraries & client for a DEMARC/snort sensor you do not need to build the server on each machine, so you can use the following ./configure syntax:

# ./configure --without-server --prefix=/usr/local/mysql

However, if this is the sensor you have chosen to be the database server (only one needed in a typical DEMARC installation - usually the main DEMARC client), you can build the mysql server as well by using the following options for ./configure:

# ./configure  --prefix=/usr/local/mysql

Finish making and installing the mysql client [and server] program as follows:

# make
# make install

If you are planning to use the mysql client frequently on this machine, you may want to soft link the client to a directory in your $PATH as follows: (Note: this is completely optional)

# ln -s /usr/local/mysql/bin/mysql /usr/local/bin/mysql


################################
If you have built the mysql server for this sensor:

you'll need to execute the following commands as well:

# scripts/mysql_install_db

you should add a new user named "mysql" to your system that can NOT login.  You'll also have to add a new group named "mysql". If you are not sure how to do this, you should be able to simply add the following line to your /etc/passwd file on most operating systems:

mysql:x:3306:3306:Mysql Server:/usr/local/mysql:/bin/true

and the following line into your /etc/group file:

mysql:x:3306:
 
Note: the sytax might be different on different operating systems.  On linux you can add a mysql user and group by executing "groupadd mysql" and "useradd -g mysql mysql", and on BSD systems, you can follow the prompts after executing "adduser".  Please only manually edit the passwd and group files as shown above if you can not find the proper way of doing it on your system and need to try another option!


You'll probably also need to create the mysql var directory as follows:

# mkdir /usr/local/mysql/var

# chown -R root /usr/local/mysql
# chown -R mysql /usr/local/mysql/var
# chgrp -R mysql /usr/local/mysql
# cp support-files/my-medium.cnf /etc/my.cnf

 you can now start it with the following command (as root):

# /usr/local/mysql/bin/safe_mysqld &


NOTE: This will not set mysql to automatically start when your machine reboots.  Please visit http://www.mysql.com/ for detailed instructions on how to do so, but here are some hints for some common operating systems:

  Linux Systems:
  ------------------
  copy /usr/local/mysql/share/mysql/mysql.server to /etc/init.d/

   BSD Systems:
  ------------------
  Add "/usr/local/mysql/bin/safe_mysqld&" to the /etc/rc.init file.

   AIX Systems:
  ------------------
  Add "/usr/local/mysql/bin/safe_mysqld&" to the /etc/inittab or /etc/rc.tcpip file.




(Most of the configuration instructions for this section were takes from the "INSTALL-SOURCE" file that comes in the base directory of the mysql source tarball)
