I am using docker to install Seafile. When I try to look into the databases like seafile_db using mysql. It shows that there is no such database. I am sure that my Seafile server is properly running. But I am wondering how to access its mysql database.
The following is my terminal output:
sam@raspberrypi:~ $ mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 49
Server version: 10.5.19-MariaDB-0+deb11u2 Debian 11
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 |
| performance_schema |
| phpmyadmin |
| wptest |
+--------------------+
5 rows in set (0.002 sec)
MariaDB [(none)]> use seafile_db;
ERROR 1049 (42000): Unknown database 'seafile_db'