Jonathan Druart
5ebf75ecd0
This patch will fix installation of Koha on MySQL 8 DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rank, syntax, encoding,recordtype) VALUES ('lx2.loc.gov',210,'LCDB','','','LIBRA' at line 2 at /usr/share/perl5/DBIx/RunSQL.pm line 273. https://dev.mysql.com/doc/refman/8.0/en/keywords.html => RANK (R); added in 8.0.2 (reserved) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
11 lines
732 B
SQL
11 lines
732 B
SQL
INSERT INTO z3950servers
|
|
(host, port, db, userid, password, servername, checked, `rank`, syntax, encoding,recordtype) VALUES
|
|
('lx2.loc.gov',210,'LCDB','','','LIBRARY OF CONGRESS',1,1,'USMARC','utf8','biblio'),
|
|
('lx2.loc.gov',210,'NAF','','','LIBRARY OF CONGRESS NAMES',1,1,'USMARC','utf8','authority'),
|
|
('lx2.loc.gov',210,'SAF','','','LIBRARY OF CONGRESS SUBJECTS',1,2,'USMARC','utf8','authority');
|
|
|
|
#Insert SRU server
|
|
INSERT INTO z3950servers
|
|
(host, port, db, servername, syntax, encoding, servertype, sru_fields)
|
|
VALUES
|
|
('lx2.loc.gov',210,'LCDB','LIBRARY OF CONGRESS SRU','USMARC','utf8','sru','title=dc.title,isbn=bath.isbn,srchany=cql.anywhere,author=dc.author,issn=bath.issn,subject=dc.subject,stdid=bath.standardIdentifier');
|