How to delete library data in koha using the command line Sometimes you need to empty the all data (e.g. bibliographic, borrowers, and transaction details) from your Koha LMS without losing the configuration settings and authorized values, e.g. libraries, item types, patron categories, locations, etc. Let us know how to delete data from the Koha instance/library. Delete Koha's bibliographic data NB: I would recommend taking a backup of the database before applying the following commands. Login as a root user sudo su Log into MySQL database mysql -uroot -p Enter MySQL root password use koha_library; Disable foreign key constraints when you truncate the tables SET FOREIGN_KEY_CHECKS=0; Delete all bibliographic details TRUNCATE items; TRUNCATE biblioitems; TRUNCATE biblio; TRUNCATE deletedbiblioitems; TRUNCATE deletedbiblio; TRUNCATE biblio_metadata; Delete all transactions TRUNCATE old_issues; TRUNCATE issues; Delete borrowers details ...
Koha INSTALLATION After installation of ubuntu 20.4 (Focal Fossa), right click on the mouse choose open terminal. past the following comments in terminal. Update Ubuntu using apt sudo apt update sudo apt upgrade -y if the system asks for update make it "Remind me later" it may confuse the process Clear the apt-get packager manager cache sudo apt clean Install MariaDB-server dependence sudo apt install -y mariadb-server Provide MySQL/MariaDB root password (If the password asks during the installation process, enter the password in the window. Apply the following command, if the password window did not appear during the installation secure it) Securing MariaDB Run this command to improve the security of the MariaDB installation: sudo mysql_secure_installation (The script will prompt you to set up the root user password, remove the anonymous user, restrict root user access to the local machine and remove the te...
Integrating Koha Search Interface Into Your Library Website 1. Select the portion of your library Website from the home page, where to display the Search Interface of Koha OPAC 2. Copy and paste the following HTML code into a selected portion of your Library Website Home Page and then you will need to modify the Koha OPAC URL, item codes, and name of the item as per your Koha system and save. <div style="background-color: #87CEEB; border-radius: 7px; border: 3px solid blue;"> <div><form id="searchform" action=" Your Koha OPAC URL/IP Address /cgi-bin/koha/opac-search.pl" method="get" name="searchform"> <table style="height: 50px; width: 600px;"> <tbody> <tr style="height: 50px;"> <td style="width: 90px; height: 50px;"><select id="masthead_search" name="idx"> <option value="kw">Keyword</option> <option value=...
Comments
Post a Comment