Re: was database too old or corrupt error on debian ever solved
Stéphane Téletchéa <[email protected]>
| Newsgroups | gmane.text.refdb.general |
|---|---|
| Organization | INRA |
| Message-ID | <[email protected]> |
Markus Hoenicka a écrit : > Stéphane Téletchéa writes: > > As a packager, one suggestion i could do is to split (or *pluginize*)=20 > > the db connectors. Like this, one refdb-server package could exist=20 > > (using by default sqlite) and if the mysql or pgsql connector is present=20 > > then it is used. > > > > 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. > > regards, > Markus > I may have misunderstood, but while packaging, i'm using those options : ./configure --disable-docs --with-db-server=pgsql --disable-rpath * the --disable-docs is for avoiding the doc building problem (and since they are provided, there is no point in having a rebuilding), * --disable-rpath is to avoid the warning * i used --with-db-server=pgsql Ok, after reading again p29 of the manual (chpater 4 - Installation), i see the option -with-db-server is only for getting preconfigurations for pgsql, mysql or sqlite, but all of them will be ok with the correct configuration file ... Is there a mean to provide the three configurations so the admin can link the correct one to its situation ? Otherwise, i'll consider adding them on the package, using 3 differents 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 InnoDB in mysql) is truncated :-) Stéphane -- Stéphane Téletchéa, PhD. http://www.steletch.org Unité Mathématique Informatique et Génome http://migale.jouy.inra.fr/mig INRA, Domaine de Vilvert Tél : (33) 134 652 891 78352 Jouy-en-Josas cedex, France Fax : (33) 134 652 901 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642