8000 infinidb/utils/autoconf at 3.6 · infinidb/infinidb · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
 
 

autoconf

To build the software from source, consult the file INSTALL.

Brief Install Instructions:

1. Install the 3 Calpont infinidb RPMs or unpack the binary tar file into /usr/local.
2. Setup the software to run: /usr/local/Calpont/bin/install-infinidb.sh
3. Start the Database: service infinidb start
   or /usr/local/Calpont/bin/infinidb start
4. Setup some aliases: . /usr/local/Calpont/bin/calpontAlias
5. Run the following upgrade script to create calponsys schema and upgrade the syscolumn table:  /usr/local/Calpont/bin/upgrade-infinidb.sh 
6. Connect to MySQL: idbmysql

7. As an example to get you started, try this:

        create database calpont;
        use calpont;
        create table caltest (col1 int, col2 int) engine=infinidb;
        show create table caltest;
        set autocommit=0;
        insert into caltest values (1, 2);
        insert into caltest values (3, 4);
        commit;
        select * from caltest;

Note:
Examine the output of the show create table command carefully and
make sure the table is in fact a calpont table.

If the table is MyISAM type:

drop table caltest;
install plugin infinidb soname 'libcalmysql.so';

and retry the example.

To uninstall infinidb:
   service infinidb stop
   or /usr/local/Calpont/bin/infinidb stop
   chkconfig --del infinidb
   rm -rf /usr/local/Calpont
0