Admin account unreachable / Password lost / no shell access

I have only access to MySQL Database. Is there a possibility to reset the Admin Password or can i create a new admin?

The Password reset function via e-Mail isn´t working.

Many Thanks for your ideas.

Reset your mail settings in /config/config.php and try to reset your password with mail again :wink:

Thanks for your quick reply, but there are no options for mail settings in config.php

Just add the according parameters. Here is the according documentation:
https://docs.nextcloud.com/server/13/admin_manual/configuration_server/config_sample_php_parameters.html#mail-parameters