standardnotes / server

Server ecosystem for Standard Notes; fully self-hostable.
https://standardnotes.com/help/self-hosting/docker
GNU General Public License v3.0
267 stars 62 forks source link

fix: MySQL(8.4.0) native password authentication changes. #1054

Closed tuxnet closed 6 months ago

tuxnet commented 7 months ago

Beginning with MySQL 8.4.0, the deprecated mysql_native_password authentication plugin is no longer enabled by default. To enable it, start the server with --mysql-native-password=ON (added in MySQL 8.4.0), or by including mysql_native_password=ON in the [mysqld] section of your MySQL configuration file (added in MySQL 8.4.0).

https://dev.mysql.com/doc/refman/8.4/en/mysql-nutshell.html

stevesbrain commented 6 months ago

I can confirm that this, along with removing existing data, allowed me to bootstrap the new version.

edmondsiu0 commented 4 months ago

I can confirm I was able to bring up my Standardnotes instance with existing data with --mysql-native-password=ON.

https://github.com/standardnotes/server/issues/868