mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
update link of note of MDEV-30203 note from Mariadb
This commit is contained in:
parent
5a46bf8631
commit
c09a5b1cda
|
|
@ -54,7 +54,7 @@ mysqldump -h [mysqlhost] -u[username] -p[password] --opt seahub_db > /backup/dat
|
|||
```
|
||||
|
||||
!!! danger "`mysqldump`: command not found"
|
||||
You may encounter this problem on some machines with a minimal (from 10.5) or a newer (from 11.0) Mariadb server installed, of which the `mysql*` series of commands [have been fully deprecated](https://mariadb.com/kb/en/mysqldump/). If you encounter this error, use the `mariadb-dump` command, such as:
|
||||
You may encounter this problem on some machines with a minimal (from 10.5) or a newer (from 11.0) Mariadb server installed, of which the `mysql*` series of commands [have been fully deprecated](https://jira.mariadb.org/browse/MDEV-30203). If you encounter this error, use the `mariadb-dump` command, such as:
|
||||
|
||||
```sh
|
||||
mariadb-dump -h [mysqlhost] -u[username] -p[password] --opt ccnet_db > /backup/databases/ccnet_db.sql.`date +"%Y-%m-%d-%H-%M-%S"`
|
||||
|
|
@ -106,7 +106,7 @@ mysql -u[username] -p[password] seahub_db < seahub_db.sql.2013-10-19-16-01-05
|
|||
```
|
||||
|
||||
!!! danger "`mysql`: command not found"
|
||||
You may encounter this problem on some machines with a minimal (from 10.5) or a newer (from 11.0) Mariadb server installed, of which the `mysql*` series of commands [have been fully deprecated](https://mariadb.com/kb/en/mysqldump/). If you encounter this error, use the `mariadb` command, such as:
|
||||
You may encounter this problem on some machines with a minimal (from 10.5) or a newer (from 11.0) Mariadb server installed, of which the `mysql*` series of commands [have been fully deprecated](https://jira.mariadb.org/browse/MDEV-30203). If you encounter this error, use the `mariadb` command, such as:
|
||||
|
||||
```sh
|
||||
mariadb -u[username] -p[password] ccnet_db < ccnet_db.sql.2013-10-19-16-00-05
|
||||
|
|
@ -142,7 +142,7 @@ docker exec -it seafile-mysql mariadb-dump -u[username] -p[password] --opt seah
|
|||
```
|
||||
|
||||
!!! tip
|
||||
The default image of database is ***Mariadb 10.11*** from Seafile 12, you may not be able to find these commands in the container (such as `mysqldump: command not found`), since commands of `mysql*` series [have been gradually deprecated](https://mariadb.com/kb/en/mysqldump/). So we recommend that you use the `mariadb*` series of commands.
|
||||
The default image of database is ***Mariadb 10.11*** from Seafile 12, you may not be able to find these commands in the container (such as `mysqldump: command not found`), since commands of `mysql*` series [have been gradually deprecated](https://jira.mariadb.org/browse/MDEV-30203). So we recommend that you use the `mariadb*` series of commands.
|
||||
|
||||
However, **if you still use the *MySQL* docker image**, you should continue to use `mysqldump` here:
|
||||
|
||||
|
|
@ -182,7 +182,7 @@ docker exec -it seafile-mysql /bin/sh -c "mariadb -u[username] -p[password] seah
|
|||
```
|
||||
|
||||
!!! tip
|
||||
The default image of database is ***Mariadb 10.11*** from Seafile 12, you may not be able to find these commands in the container (such as `mysql: command not found`), since commands of `mysql*` series [have been gradually deprecated](https://mariadb.com/kb/en/mysqldump/). So we recommend that you use the `mariadb*` series of commands.
|
||||
The default image of database is ***Mariadb 10.11*** from Seafile 12, you may not be able to find these commands in the container (such as `mysql: command not found`), since commands of `mysql*` series [have been gradually deprecated](https://jira.mariadb.org/browse/MDEV-30203). So we recommend that you use the `mariadb*` series of commands.
|
||||
|
||||
However, **if you still use the *MySQL* docker image**, you should continue to use `mysql` here:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue