Home | News & Views | Download | Documentation | About us

My SQL Conference



PrimeBase XT Download

PrimeBase XT is hosted on SourceForge.net. You can download the latest source code, track changes and updates and report bugs here: http://sourceforge.net/projects/pbxt.

The source code control system used is subversion. You can checkout the root source tree usng the following command:

svn checkout https://pbxt.svn.sourceforge.net/svnroot/pbxt/trunk/pbxt pbxt

PBXT Source Distribution
PBXT 1.0.05 Beta Source distribution
This version compiles with MySQL 5.1.26 RC or earlier and MySQL 6.0.5 Alpha or earlier.
pbxt-1.0.05-beta.tar.gz Aug 31, 2008
Quick Guide: Building and Installing PBXT from Source
PBXT Binary Distribution
PBXT 1.0.05 Beta binary for Linux (x86)
Compiled for mysql-5.1.26-rc-linux-i686-glibc23.tar.gz
libpbxt.so Aug 31, 2008
PBXT 1.0.05 Beta binary for Linux (AMD64 / Intel EM64T)
Compiled for mysql-5.1.26-rc-linux-x86_64-glibc23.tar.gz
libpbxt.so Aug 31, 2008
PBXT 1.0.05 Beta binary for Mac OS X 10.5 (x86)
Compiled for mysql-5.1.26-rc-osx10.5-x86.tar.gz
libpbxt.so Aug 31, 2008
Quick Guide: Installing the PBXT Binary Plugin
Quick Guide: Building and Installing PBXT from Source
You will need the following:
  • A UNIX user: <unix-user>, For example: my-user
  • A "build" directory: <build-dir>. For example: /home/my-user/build
  • A MySQL test directory: <mysql-dir>. For example: /home/my-user/mysql
  • The MySQL 5.1 source tree: <mysql-src>.tar.gz. For example: mysql-5.1.26-rc.tar.gz
  • The PBXT source tree: <pbxt-src>.tar.gz. For example: pbxt-1.0.05-beta.tar.gz

1. Unpack the source trees in the build directory:

cd <build-dir>
gunzip -c <mysql-src>.tar.gz | tar -x
gunzip -c <pbxt-src>.tar.gz | tar -x

2. Configure, build and install MySQL:

cd <build-dir>/<mysql-src>
./configure --prefix=<mysql-dir> --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --with-big-tables --with-readline --with-ssl --with-plugins=max-no-ndb --with-embedded-server --enable-local-infile --with-mysql-user=<unix-user>
make
make install

3. Configure, build and install PBXT:

cd <build-dir>/<pbxt-src>
./configure --with-mysql=<build-dir>/<mysql-src> --libdir=<mysql-dir>/lib/mysql/plugin
make install

4. Install the MySQL database:

cd <mysql-dir>
bin/mysqld_install_db --no-defaults

5. Start the MySQL server (in the foreground):

libexec/mysqld --no-defaults

6. Install the PBXT plug-in (using a second terminal):

cd <mysql-dir>
bin/mysqld -uroot

mysql> INSTALL PLUGIN PBXT SONAME 'libpbxt.so';

7. Create a test table:

mysql> use test;
mysql> CREATE TABLE a_test_tab (id INT, string VARCHAR(100)) ENGINE=PBXT;

8. Shutdown the MySQL server:

cd <mysql-dir>
bin/mysqldadmin -uroot shutdown

Note, if these instruction do not work it may be due to a change in MySQL. Please refer to the documentation for more details on building and installing PBXT.

Quick Guide: Installing the PBXT Binary Plugin
1. Install the Binary distribution:

Install the MySQL binary distribution specified for the plugin above.

2. Determine the plugin directory:

mysql> show variables like "%plugin%";
+---------------+-----------------------------+
| Variable_name | Value                       |
+---------------+-----------------------------+
| plugin_dir    | /usr/local/mysql/lib/plugin |
+---------------+-----------------------------+
1 row in set (0.01 sec)

3. Copy the plugin into the plugins directory:

cp libpbxt.so /usr/local/mysql/lib/plugin

4. Install the PBXT plug-in (using a second terminal):

mysql> INSTALL PLUGIN PBXT SONAME 'libpbxt.so';