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
I'm currently trying to wire up a NixOS module for WriteFreely. NixOS's MySQL module
configures database users for auth with either unix_socket or auth_socket and does not initialize users with a password.
Steps to reproduce (if necessary)
Start MySQL.
Create a user with either unix_socket or auth_socket auth as described above.
Configure WriteFreely to use MySQL with an empty password entry.
Start WriteFreely.
Expected behavior
WriteFreely should be able to connect to the database without a password, though I'm not familiar enough with Go or the libraries underlying the database system to know if that's possible here (though my gut says it should be).
Application configuration
Single mode or Multi-user mode? both
Database? [mysql/sqlite] mysql
Open registration? [yes/no] both
Federation enabled? [yes/no] both
Version or last commit: 0.13.1
The text was updated successfully, but these errors were encountered:
Describe the bug
Attempting to use the MySQL database driver without a password set causes
the program to throw an error and exit, printing the following.
View
config.ini
file.I'm currently trying to wire up a NixOS module for WriteFreely. NixOS's MySQL module
configures database users for auth with either
unix_socket
orauth_socket
and does not initialize users with a password.Steps to reproduce (if necessary)
unix_socket
orauth_socket
auth as described above.Expected behavior
WriteFreely should be able to connect to the database without a password, though I'm not familiar enough with Go or the libraries underlying the database system to know if that's possible here (though my gut says it should be).
Application configuration
Version or last commit: 0.13.1
The text was updated successfully, but these errors were encountered: