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.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
configuration:ils:examples:koha_ilsdi_database [2023/03/24 16:07] – sturkel | configuration:ils:examples:koha_ilsdi_database [2023/03/29 17:46] (current) – [Create a new MariaDB user in Koha server] demiankatz | ||
---|---|---|---|
Line 3: | Line 3: | ||
// Thanks to Mohan Pradhan for developing this documentation. // | // Thanks to Mohan Pradhan for developing this documentation. // | ||
- | =====Create a new MariaDB user in Koha server===== | + | ===== 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. | + | 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. |
- | 1. Enter your password and access the MariaDB client. | + | 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: | ||
+ | |||
+ | 1. Enter your password and access the MariaDB client | ||
2. Create new MariaDB user | 2. Create new MariaDB user | ||
+ | |||
To create a new MariaDB user, type the following command: | To create a new MariaDB user, type the following command: | ||
<code bash> | <code bash> | ||
- | CREATE USER 'user1'@ ' | + | CREATE USER 'username' |
</ | </ | ||
3. Give permission (privileges) to MariaDB. | 3. Give permission (privileges) to MariaDB. | ||
+ | |||
To do so, type the following statement: | To do so, type the following statement: | ||
<code bash> | <code bash> | ||
- | GRANT ALL PRIVILEGES | + | GRANT SELECT |
</ | </ | ||
Line 24: | Line 36: | ||
<code bash> | <code bash> | ||
FLUSH PRIVILEGES; | FLUSH PRIVILEGES; | ||
- | exit. | + | exit |
</ | </ | ||
---- struct data ---- | ---- struct data ---- |
configuration/ils/examples/koha_ilsdi_database.1679674054.txt.gz · Last modified: 2023/03/24 16:07 by sturkel