I found a solution there
root@nextcloudpi:/home/pi# mariadb
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 190627
Server version: 10.11.6-MariaDB-0+deb12u1 Debian 12
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> show databases
-> ;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| nextcloud |
| performance_schema |
| sys |
+--------------------+
5 rows in set (0,037 sec)
MariaDB [(none)]> use nextcloud;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [nextcloud]> SELECT * FROM oc_share_external;
+----+--------+------------+--------------------------------------+-----------+-----------------+----------+------------------------------------------------------+--------+--------+------------------------------------------------------------------------+----------------------------------+----------+
| id | parent | share_type | remote | remote_id | share_token | password | name | owner | user | mountpoint | mountpoint_hash | accepted |
+----+--------+------------+--------------------------------------+-----------+-----------------+----------+------------------------------------------------------+--------+--------+------------------------------------------------------------------------+----------------------------------+----------+
| 1 | -1 | 0 | https://GFXX.freeboxos.fr/ | 15 | Yo7Ysp3T1sfhwCN | | /20201226_velo | gilles | agnes | /Partages de Gilles/Photos/2021/Partages de Gilles/20201226_velo | eb88fe476110f7db3e174ea1071948db | 1 |
| 2 | -1 | 0 | https://<hidden hostname>/ | 136 | F3AH9MiKIdAV7YM | | /Anniv Hélène | helene | gilles | /Photos de Helene/Anniv Hélène | a2bd7d16a588299101de0467d7cf1210 | 1 |
| 3 | -1 | 0 | https://<hidden hostname>/ | 137 | lFl51PkGPu6GdZQ | | /Anniv Hélène | helene | agnes | /Photos/2021/Anniv Hélène | d29d483e38b6ff8282838be25e17f3ff | 1 |
| 5 | -1 | 0 | https://<hidden hostname>/ | 174 | u81cN95eSmy4FGt | | /20210211_Séjour à Marseille du 11 au 14 février. | agnes | helene | /Photos partagées/20210211_Séjour à Marseille du 11 au 14 février. | 3f24c0f233a614d4a617b13df414022a | 1 |
| 6 | -1 | 0 | https://<hidden hostname>/ | 199 | YP2PG1IUcu9uMKo | | /20210221_Ballade à La Bastille. | agnes | helene | /Photos partagées/20210221_Ballade à La Bastille. | fe965ce6b58b203055b4eae75d2369f9 | 1 |
+----+--------+------------+--------------------------------------+-----------+-----------------+----------+------------------------------------------------------+--------+--------+------------------------------------------------------------------------+----------------------------------+----------+
5 rows in set (0,001 sec)
MariaDB [nextcloud]> delete FROM oc_share_external where owner="gilles";
Query OK, 1 row affected (0,002 sec)
MariaDB [nextcloud]> quit
Bye