ichiran icon indicating copy to clipboard operation
ichiran copied to clipboard

Minor note about database_name

Open gorthon opened this issue 2 years ago • 2 comments

Postgres and Lisp aren't my main wheelhouse, so this is suggestion for a note that may help other noobs setting up:

Both https://github.com/tshatrov/ichiran/releases https://readevalprint.tumblr.com/post/639359547843215360/ichiranhome-2021-the-ultimate-guide

mention database_name, which made me think I could set it to whatever I wanted, e.g. ichiran, but it looks like the dump specifies it as jmdict0122, so at (ichiran/mnt:add-errata) I was getting errors. The rest worked completely as expected once I put jmdict0122 in settings.lisp

I really appreciate all the work you've put into this! Thank you!

gorthon avatar Nov 23 '22 17:11 gorthon

The dump can be restored to any database name, the provided command line is just an example. If you restore it to some other name, then *connection* in settings.lisp should be whatever database name was used when restoring the dump.

tshatrov avatar Nov 24 '22 00:11 tshatrov

Thanks, I had the same issue and this helped

marisukukise avatar May 19 '23 01:05 marisukukise