Hello Community,
I am having a problem with the change from single user to production environment. When switching to mysql, the system doesn't load up, but when using sqlite it has no problem at line 19 (uwsgi). This is the error:
File "/home/galaxy/galaxy/.venv/lib/python2.7/site-packages/yaml/parser.py", l ine 98, in check_event self.current_event = self.state() File "/home/galaxy/galaxy/.venv/lib/python2.7/site-packages/yaml/parser.py", l ine 439, in parse_block_mapping_key "expected <block end="">, but found %r" % token.id, token.start_mark) yaml.parser.ParserError: while parsing a block mapping in "/home/galaxy/galaxy/config/galaxy.yml", line 19, column 1 expected <block end="">, but found '<block mapping="" start="">' in "/home/galaxy/galaxy/config/galaxy.yml", line 127, column 3
At the galaxy.yml, I have followed the galaxy documentation info, it is as following for the db:
database_connection: mysql://admin:passss@localhost/galax_db
database_connection: mysql:///galax_db?unix_socket=/usr/sbin/mysqld.sock
I have tried with/out the heading for the second line, but still comes the error at loading line 19 (uwsgi, I guess some parameter don't work) and at line 127, database_engine_option_pool_recycle: 7200, also the mysql global timeout was changed to 28800, therefore I think it is that it doesn't connect, as it works fine with sqlite.
Looking forward to your advice. Felipe