Re: [Refdb-users] was database too old or corrupt error on debian ever solved
Status: Beta
Brought to you by:
mhoenicka
From: <ste...@jo...> - 2006-05-31 10:18:44
|
Markus Hoenicka a =E9crit : > St=E9phane T=E9letch=E9a writes: > > As a packager, one suggestion i could do is to split (or *pluginize*= )=3D20 > > the db connectors. Like this, one refdb-server package could exist=3D= 20 > > (using by default sqlite) and if the mysql or pgsql connector is pre= sent=3D20 > > then it is used. > >=20 >=20 > What precisely do you mean with "db connectors"? What would these > packages contain? As far as RefDB is concerned, you switch between > database engines by changing one or two entries in refdbdrc and by > creating the main database using the new engine.=20 >=20 > regards, > Markus >=20 I may have misunderstood, but while packaging, i'm using those options : ./configure --disable-docs --with-db-server=3Dpgsql --disable-rpath * the --disable-docs is for avoiding the doc building problem (and since=20 they are provided, there is no point in having a rebuilding), * --disable-rpath is to avoid the warning * i used --with-db-server=3Dpgsql Ok, after reading again p29 of the manual (chpater 4 - Installation), i=20 see the option -with-db-server is only for getting preconfigurations for=20 pgsql, mysql or sqlite, but all of them will be ok with the correct=20 configuration file ... Is there a mean to provide the three=20 configurations so the admin can link the correct one to its situation ? Otherwise, i'll consider adding them on the package, using 3 differents=20 builds to get the environnment in /usr/local/etc/refdb/* Thanks for the clarification, this was my last limiting step. As a sidenote, the command line on page 42 (the sed replacement for=20 InnoDB in mysql) is truncated :-) St=E9phane --=20 St=E9phane T=E9letch=E9a, PhD. http://www.steletch.org Unit=E9 Math=E9matique Informatique et G=E9nome http://migale.jouy.inra.f= r/mig INRA, Domaine de Vilvert T=E9l : (33) 134 652 891 78352 Jouy-en-Josas cedex, France Fax : (33) 134 652 901 |