[GH-ISSUE #148] Update in the documentation #32

Closed
opened 2026-03-02 16:47:10 +03:00 by kerem · 1 comment
Owner

Originally created by @chris-fj on GitHub (Feb 1, 2023).
Original GitHub issue: https://github.com/photoprism/photoprism-docs/issues/148

(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 <PATH_TO_STORAGE_MOUNT>/storage/index.db -d photoprism -u root --mysql-password 'insecure'

and it can be improved to

On the host now run sudo sqlite3mysql -f <PATH_TO_STORAGE_MOUNT>/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

Originally created by @chris-fj on GitHub (Feb 1, 2023). Original GitHub issue: https://github.com/photoprism/photoprism-docs/issues/148 (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 <PATH_TO_STORAGE_MOUNT>/storage/index.db -d photoprism -u root --mysql-password 'insecure' and it can be improved to > On the host now run sudo sqlite3mysql -f <PATH_TO_STORAGE_MOUNT>/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
kerem closed this issue 2026-03-02 16:47:10 +03:00
Author
Owner

@chris-fj commented on GitHub (Feb 1, 2023):

This issue is fixed by #146

<!-- gh-comment-id:1411839394 --> @chris-fj commented on GitHub (Feb 1, 2023): This issue is fixed by #146
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/photoprism-docs#32
No description provided.