iroddis / asdf-mysql

A MySQL Plugin for asdf
GNU General Public License v2.0
19 stars 8 forks source link

Basic database setup missing error messages #31

Closed viraptor closed 1 year ago

viraptor commented 1 year ago

The install / running instructions could use a mention of --lc-messages-dir. Without the option, all errors are returned as codes only, without the error message.

In practice you need to run:

mysqld --lc-messages-dir=$HOME/.asdf/installs/mysql/{the_version}/share --other-options

(at least for the 5.7 versions - haven't tried v8)

iroddis commented 1 year ago

Thanks very much for the hint, I've updated the README with that info, adding in some shell to automatically determine the version.