LISTSERV mailing list manager LISTSERV 16.5

Help for QSERV-L Archives


QSERV-L Archives

QSERV-L Archives


QSERV-L@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

QSERV-L Home

QSERV-L Home

QSERV-L  February 2014

QSERV-L February 2014

Subject:

scisql compatibility issues with MariaDB

From:

Fabrice Jammes <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Thu, 27 Feb 2014 17:18:14 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (65 lines)

Hello,

Osma Aidel, database expert at CC-IN2P3, find out some problems when 
installing SciSQL in MariaDB.

Here are some of them :

1. default plugin dir has been modified, so next option has to be added 
to configure : --mysql-plugins=/usr/local/mysql/lib/plugin

2. MariaDB version isn't recognize at configure time :
--
Checking for mysql plugins directory     : /usr/local/mysql/lib/plugin
Checking for mysql.h                     : yes
Checking MySQL version                   : Invalid MYSQL_SERVER_VERSION 
5.5.34-MariaDB
--

3. after having hacked 2, a problem occurs during install :
[qserv@clrlsstwn04 scisql-0.3.2]$ make install
Waf: Entering directory `/home/qserv/src/scisql-0.3.2/build'
...
Running testS2PtInBox.py                 : OK
Running testS2PtInCircle.py              : OK
Running testS2PtInEllipse.py             : OK
Running docs.py                          : FAIL [see 
/home/qserv/src/scisql-0.3.2/build/tools/docs.log]

9 tests passed, 1 failed, and 0 failed to run

docs.log contains next message :
ERROR 1148 (42000) at line 5: The used command is not allowed with this 
MariaDB version
Failed to run documentation example:


TRUNCATE TABLE Science_Ccd_Exposure_HtmId10;
LOAD DATA LOCAL INFILE '/tmp/scisql_demo_htmid10.tsv' INTO TABLE 
Science_Ccd_Exposure_HtmId10;

The problem is that "local-infile" isn't allowed by default, so mysql 
client has to be launched with next option :

mysql --local-infile=1 -u root -p

MariaDB [scisql_demo]> TRUNCATE TABLE Science_Ccd_Exposure_HtmId10;
Query OK, 0 rows affected (0.00 sec)

MariaDB [scisql_demo]> LOAD DATA LOCAL INFILE 
'/tmp/scisql_demo_htmid10.tsv' INTO TABLE Science_Ccd_Exposure_HtmId10;
Query OK, 123 rows affected (0.00 sec)
Records: 123  Deleted: 0  Skipped: 0  Warnings: 0

I think we should make a fix in order to support MariaDB ?

Cheers,

Fabrice

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2018
February 2018
January 2018
December 2017
August 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use