You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use "LittleBear_ODM_1.1.1_MySQL.sql" example database with linux 64bit based platform. After executing this sql code, database was created and I could explore it (through phphmyadmin). Launching ODMTools, I give database coordinates and application tries to connect, unsuccessfully. Issue was about table names which were all lower case whereas ODMTools expected upper case like "DataValues" instead of "datavalues". So I changed all table names (except for "seriescatalog" which was still expected lower case).
Then ODMTools opened successfully and I could explore all the data series. I then tried to make some edits (see also "Lasso widget disabled " issue).
After saving edits, ODM could retrieve new variable (with Quality control level set to 1) in table "seriescatalog" but no data were shown on graph. In fact, these data had been written in a new table called "datavalues". This table has been created by ODMTools at the time I saved my edits.
I could fix this issue by changing line 525 in file in odmtools/odmservices/series_service.py to :
@fl0f I got this issue before, loading LBR data into MySQL DB.
I did disable MySQL case sensitive with table names in ubuntu linux as follows:
$ sudo emacs /etc/mysql/my.cnf
in this file, add this line "lower_case_table_names=1",
[mysqld]
#
# * Basic Settings
#
lower_case_table_names = 1
user = mysql
and then restart mysql server,
$ sudo service mysql restart
Hi all,
I use "LittleBear_ODM_1.1.1_MySQL.sql" example database with linux 64bit based platform. After executing this sql code, database was created and I could explore it (through phphmyadmin). Launching ODMTools, I give database coordinates and application tries to connect, unsuccessfully. Issue was about table names which were all lower case whereas ODMTools expected upper case like "DataValues" instead of "datavalues". So I changed all table names (except for "seriescatalog" which was still expected lower case).
Then ODMTools opened successfully and I could explore all the data series. I then tried to make some edits (see also "Lasso widget disabled " issue).
After saving edits, ODM could retrieve new variable (with Quality control level set to 1) in table "seriescatalog" but no data were shown on graph. In fact, these data had been written in a new table called "datavalues". This table has been created by ODMTools at the time I saved my edits.
I could fix this issue by changing line 525 in file in odmtools/odmservices/series_service.py to :
instead of :
Please find attached the file I modified in Pull request "MySQL/linux case sensitive compatibility"
Best regards,
Florent
The text was updated successfully, but these errors were encountered: