The first thing we have to do, before starting with any examples,
is to setup our environment.
The linux kernel I am using is ( I am using Ubunto 6.06):
Linux stingray 2.6.15-25-386 #1 PREEMPT Wed Jun 14 11:25:49 UTC
2006 i686 GNU/Linux
The compiler I am using is ( g++ -v):
...
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
Another good thing to have is e.g. the NDBAPI
documentation.
For this I will use MySQL 5.0.22, but the steps are the same for
5.1.X
- Download the source distribution of MySQL 5.0.22
- tar xvfz mysql-5.0.22.tar.gz
- cd mysql-5.0.22
- ./configure --with-ndbcluster --with-ndb-docs
- cd ndb/docs (in 5.1.X it is 'storage/ndb/docs')
- make
Now you have html documentation of the ndbapi, if you have got all the necessary things (like doxygen) installed to generate the …
[Read more]