photoprism / photoprism-docs

Official Documentation (English)
https://docs.photoprism.app
Other
61 stars 108 forks source link

Update in the documentation #148

Closed chris-fj closed 1 year ago

chris-fj commented 1 year ago

(crossposting from https://github.com/photoprism/photoprism/issues/3076)

Don't use the MariaDB password directly in the migration command

Since the migration tool to migrate from sqlite to MariaDB offers a mysql-like option to pass the password with -p, it seems sensible to update the docs to use it. Currently, the docs say:

On the host now run sudo sqlite3mysql -f /storage/index.db -d photoprism -u root --mysql-password 'insecure'

and it can be improved to

On the host now run sudo sqlite3mysql -f /storage/index.db -d photoprism -u root -p

this prevents the usage of raw passwords directly into the command

Additional context

I'd like to create a PR to the docs, but I didn't find the repo of the docs

chris-fj commented 1 year ago

This issue is fixed by #146