About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
configuration:ils:examples:koha_ilsdi_database

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
configuration:ils:examples:koha_ilsdi_database [2023/03/20 17:09] – created demiankatzconfiguration:ils:examples:koha_ilsdi_database [2023/03/29 17:46] (current) – [Create a new MariaDB user in Koha server] demiankatz
Line 1: Line 1:
 ====== Configure Koha's database to allow access for VuFind® ====== ====== Configure Koha's database to allow access for VuFind® ======
  
-:!Details coming soon.+// Thanks to Mohan Pradhan for developing this documentation. // 
 + 
 +===== Create a new MariaDB user in Koha server ===== 
 + 
 +MariaDB is a community fork of MySQL. The most recent versions of Koha support both MySQL and MariaDB; this example uses MariaDB, though MySQL should work very similarly. 
 + 
 +To use the KohaILSDI driver, you will need to allow your VuFind® server to connect to your Koha database. 
 + 
 +In the example commands below, three key values are used that you will need to substitute with your own values: 
 + 
 +  * username = the username for your new database account 
 +  * password = the password for your new database account 
 +  * databasename = the name of your Koha database 
 + 
 +Here are the steps for setting up that new MariaDB user: 
 + 
 +1Enter your password and access the MariaDB client (e.g. ''mysql -uroot -p''). 
 + 
 +2. Create new MariaDB user 
 + 
 +To create a new MariaDB user, type the following command: 
 +<code bash> 
 +CREATE USER 'username'@'%' IDENTIFIED BY 'password'; 
 +</code> 
 + 
 +3. Give permission (privileges) to MariaDB. 
 + 
 +To do so, type the following statement: 
 +<code bash> 
 +GRANT SELECT ON databasename.* TO 'username'@'%'; 
 +</code> 
 + 
 +4. Save these settings: 
 +<code bash> 
 +FLUSH PRIVILEGES; 
 +exit 
 +</code>
 ---- struct data ---- ---- struct data ----
 properties.Page Owner :  properties.Page Owner : 
 ---- ----
  
configuration/ils/examples/koha_ilsdi_database.1679332198.txt.gz · Last modified: 2023/03/20 17:09 by demiankatz