1.4 KiB
1.4 KiB
maria_DB
Maria_DB is a dockerized Databse, that can be connected to many containers like nextcloud. The Database has to be listed inside a docker-compose file or must be connected to the other container via the same docker-network.
connect to maria DB
If yiu want to connect to the Database to make take some manual actions, go into portainer-docker UI and connect to the docker cointainer via virtual bash shell. Log in as root and issue the command:
mysql -u root -p
Insert your root password and use the command connect <databse name> to connect to your database.
usecases
You can erase entries from the blacklist of nextcloud (for too many login approaches to the server)
to show brute force entries
SELECT * FROM oc_bruteforce_attempts;
To erase entries
DELETE FROM oc_bruteforce_attempts WHERE IP="xxx.xxx.xxx.xxx";
erase the blocklist entirely
DELETE FROM oc_bruteforce_attempts;