Topic: Access denied for user 'iredadmin'@'localhost' (using password: YES)
==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====
iRedAdmin-Pro-LDAP-1.8.1
I get the following error
Error: mysql(127.0.0.1): Connect failed to database (iredadmin): Access denied for user 'iredadmin'@'localhost' (using password: YES)
dict: Error: dict sql lookup failed: Not connected to database
I can logon to Iredadmin Panel and setup accounts, I can logon to LDAP, I can logon onto roundcube but I can't send or receive email because it will not connect to mysql database.
settings.ini
[iredadmin]
# Database used to store iRedAdmin data. e.g. sessions, log.
host = 127.0.0.1
port = 3306
db = iredadmin
user = iredadmin
passwd = my_password my_password is unecrypted if I try to put an encrypted value in I get an internal service error
I have re ran this several times
mysql -uroot -p
mysql> USE iredadmin;
mysql> SOURCE /var/www/iRedAdmin-0.2/docs/samples/iredadmin.sql;
mysql> GRANT SELECT,INSERT,UPDATE,DELETE ON iredadmin.* TO iredadmin@localhost IDENTIFIED BY 'my_ password';
mysql> FLUSH PRIVILEGES;
I don't know where to go from here
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.