Skip to content

Instantly share code, notes, and snippets.

@m0veax
Last active March 11, 2019 10:42
Show Gist options
  • Save m0veax/df14ba3eba37060ab970453164a9dcf4 to your computer and use it in GitHub Desktop.
Save m0veax/df14ba3eba37060ab970453164a9dcf4 to your computer and use it in GitHub Desktop.
Problems while trying to setup an shiori account
ERRO[0000] [./go/bin/shiori account add accountname]: default addr for network 'localhost' unknown
#!/bin/sh
# TODO SET ENV VARS
export SHIORI_DBTYPE="mysql"
export SHIORI_DSN="username:supersecretpassword@localhost/db_name?charset=utf8&parseTime=True&loc=Local"
./go/bin/shiori $@
@m0veax
Copy link
Author

m0veax commented Mar 11, 2019

UPDATE: added underscore to db_name because the real db has an underscore prefix (i need that due to my provider)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment