1 (edited by schnappi 2020-11-23 17:59:59)

Topic: MariaDB root password failing after install

Brand new server install. Backup script failed via cron first time. Tried to run manually and after further investigation found that the issue is password in /root/.my.cnf. The password doesn't work (sudo mysql -u root -p).

I was about to change the MariaDB root password after stopping the database and restarting with --skip-grant-tables (following this: https://stackoverflow.com/questions/418 … password), but wanted to get input first. Is this the right course of action?


==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Deployed with iRedMail Easy or the downloadable installer? No
- Linux/BSD distribution name and version: Debian 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: MariaDB root password failing after install

It's ok to reset password with the '--skip-grant-tables' argument.

3

Re: MariaDB root password failing after install

This tutorial worked great.

https://www.digitalocean.com/community/ … untu-18-04