[dev] Category sequence question

Mario Andres Yepes Cifuentes marioy at upb.edu.co
Wed Aug 6 07:50:13 PDT 2003


Greetings.

This is just a quick question...

For performance issues I configured Giapeto to store its information y a
diferente database (diferente from the rest of the other horde applications I
mean) but in the same MySQL server. But something courious happens, the
sequence used to keep track of the diferent blocks is the same of the horde
category. So my first block of my fist page has the id number of 14900.

The question is if there is a way to force the use of a diferent sequence for a
horde application.

this is the part of the configuration regarding database storage in Giapeto's
config/conf.php

-- snip --
$conf['category']['driver'] = 'sql';
$conf['category']['params']['phptype'] = 'mysql';
$conf['category']['params']['protocol'] = 'tcp';
$conf['category']['params']['hostspec'] = 'localhost';
$conf['category']['params']['username'] = 'sitios';
$conf['category']['params']['password'] = 'secret';
$conf['category']['params']['database'] = 'Sitios';
$conf['category']['params']['socket'] = '/var/lib/mysql/mysql.sock';
$conf['category']['params']['port'] = 3306;
$conf['category']['params']['charset'] = 'iso-8859-1';
$conf['category']['params']['table'] = 'categorias';
$conf['category']['params']['table_attributes'] = 'atributos';
-- snip --

By the way the database user Im using has all privileges on the used database.


I hope Im been clear enough.

Regards
Mario

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



More information about the dev mailing list