Browse Subversion Repository
Contents of /trunk/README
Parent Directory
| Revision Log
Revision 50 -
( show annotations)
( download)
Thu Dec 6 10:31:31 2007 UTC
(16 years, 3 months ago)
by mir
File size: 836 byte(s)
created.
| 1 |
Hi! |
| 2 |
|
| 3 |
This is an skeleton engine, it does not do much. Its been put together for |
| 4 |
documentation reasons and as a way to get someone started quickly. |
| 5 |
|
| 6 |
To install, grab a copy of the mysql source code and run this: |
| 7 |
./configure --with-mysql=/home/brian/mysql-5.1/ --libdir=/usr/local/lib/mysql/ |
| 8 |
make install |
| 9 |
|
| 10 |
And then inside of MySQL: |
| 11 |
|
| 12 |
mysql> INSTALL PLUGIN skeleton SONAME 'libskeleton_engine.so'; |
| 13 |
|
| 14 |
mysql> CREATE TABLE `d` (`a` varchar(125), b text, primary key(a)) ENGINE=skeleton DEFAULT |
| 15 |
CHARSET=latin1; |
| 16 |
Query OK, 0 rows affected (0.01 sec) |
| 17 |
|
| 18 |
You will probably need to edit the Makefile.am in the src/ tree if you want |
| 19 |
to build on anything other then Linux (and the Makefile assumes that the |
| 20 |
server was not compiled for debug). |
| 21 |
|
| 22 |
For Solaris you can enable DTrace probes by adding to configure |
| 23 |
--enable-dtrace |
| 24 |
|
| 25 |
Have fun! |
| 26 |
|
| 27 |
Cheers, |
| 28 |
-Brian |
| 29 |
|
|