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
Pretty minor but threw me for a loop. At least in version 2.1, I kept getting DB connection errors.
The config.rb example shows:
#AppConfig[:allow_unsupported_database] = false
#AppConfig[:allow_non_utf8_mysql_database] = false
The example output from the error log files suggest you change it to this:
AppConfig[:allow_unsupported_database] = "true"
AppConfig[:allow_non_utf8_mysql_database] = "true"
I thought it was odd that it switched from bool to string so I tried first the bool approach
AppConfig[:allow_unsupported_database] = true
AppConfig[:allow_non_utf8_mysql_database] = true
and the bool approach ended up not working. I did what the log suggested and switched it to a string and it worked.
I'd recommend making a change to the config.rb examples to use the correct syntax.
The text was updated successfully, but these errors were encountered:
Moved from Archivesspace repo (archivesspace/archivesspace#918):
From hietpasd (https://github.com/hietpasd):
Pretty minor but threw me for a loop. At least in version 2.1, I kept getting DB connection errors.
The config.rb example shows:
#AppConfig[:allow_unsupported_database] = false
#AppConfig[:allow_non_utf8_mysql_database] = false
The example output from the error log files suggest you change it to this:
AppConfig[:allow_unsupported_database] = "true"
AppConfig[:allow_non_utf8_mysql_database] = "true"
I thought it was odd that it switched from bool to string so I tried first the bool approach
AppConfig[:allow_unsupported_database] = true
AppConfig[:allow_non_utf8_mysql_database] = true
and the bool approach ended up not working. I did what the log suggested and switched it to a string and it worked.
I'd recommend making a change to the config.rb examples to use the correct syntax.
The text was updated successfully, but these errors were encountered: