Installing Koha when the Koha database already exists
Hello again, The Koha /2.2.8 install I am doing insists on creating a new database. The install fails since the there is no MySQL daemon listening on localhost (see previous email). What I really need to do is skip the database creation step since I already have imported an existing Koha database from another install. Is this possible? If so, I can proceed to complete the install (hopefully) by skipling this step. thanks, rickw -- _________________________________ Rick Welykochy || Praxis Services Border relations between Canada and Mexico have never been better. -- George W Bush
Rick Welykochy escribió:
If so, I can proceed to complete the install (hopefully) by skipling this step.
Just skip the whole installer. In a typical Koha release bundle you'll find six interesting folders: * [opac|intranet]-[cgi|html] * modules * scripts Create /usr/local/koha/[intranet|cgi] (i.e., with mkdir -p) and then move cgi-bin, htdocs, modules and scripts accordingly. The only missing step is to provide a valid /etc/koha.conf (an example is provided in the Koha bundle, too, just adapt it to your values) and create the Apache configuration (an older Koha installation provides a good example) I have both a farm of Koha systems using different database but same code, and a multi-code installation with a single database. It's not the cleanest way, but anyway. In a Windows system the process is logically the same but you should create "folders" instead of directories. HTH, Jose -- José Miguel Parrella Romero -> Debian Sid, k2.6.18 Escuela de Computación - Facultad de Ciencias Universidad Central de Venezuela -> ucvlug.info
On 12/04/2007, at 11:15 AM, José Miguel Parrella Romero wrote:
Rick Welykochy escribió:
If so, I can proceed to complete the install (hopefully) by skipling this step.
Just skip the whole installer. In a typical Koha release bundle you'll find six interesting folders:
* [opac|intranet]-[cgi|html] * modules * scripts
Create /usr/local/koha/[intranet|cgi] (i.e., with mkdir -p) and then move cgi-bin, htdocs, modules and scripts accordingly. The only missing step is to provide a valid /etc/koha.conf (an example is provided in the Koha bundle, too, just adapt it to your values) and create the Apache configuration (an older Koha installation provides a good example)
Hi Guys You are also going need to create and populate the database. Copying files is the easy bit, the tricky bits the installer does, is creating the database, populating it with MARC frameworks, also doing the checks for installed modules. So if you can do those bits yourself, then copying the files and skipping the installer is a good choice. Chris -- Chris Cormack chris.cormack@liblime.com VP Research and Development www.liblime.com LibLime +64 21 542 131
Chris Cormack wrote:
You are also going need to create and populate the database. Copying files is the easy bit, the tricky bits the installer does, is creating the database, populating it with MARC frameworks, also doing the checks for installed modules.
So if you can do those bits yourself, then copying the files and skipping the installer is a good choice.
1. creating the database: it already exists 2. populating it with MARC frameworks: dunno 3. checks for installed modules: just run the installer.pl script to find out :) I'll let you know if I run into any probs doing a completely manual install. thanks, rickw -- _________________________________ Rick Welykochy || Praxis Services Border relations between Canada and Mexico have never been better. -- George W Bush
Rick Welykochy escribió:
1. creating the database: it already exists 2. populating it with MARC frameworks: dunno
AFAICT, it's an option of the installer, at the end. If the already-existing-DB was created with the installer, and you selected to load data at the end of it, the DB should have a MARC framework on it (correct me if I'm wrong, of course)
3. checks for installed modules: just run the installer.pl script to find out :)
Yes, please! And have a nice day, Jose -- José Miguel Parrella Romero -> Debian Sid, k2.6.18 Escuela de Computación - Facultad de Ciencias Universidad Central de Venezuela -> ucvlug.info
participants (3)
-
Chris Cormack -
José Miguel Parrella Romero -
Rick Welykochy