1

Topic: Error upgrading from 0.9.6 to 0.9.7

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: ubuntu 14.04.5 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- 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.
====
Upgrading to iRedPAD2.1 i get the error:
<<< ERROR >>> File /root/.my.cnf not found.
<<< ERROR >>> Please add mysql root user and password in it like below, then run this script again.

[client]
host=127.0.0.1
port=3306
user=root
password=xxxxxxxxxxx

in the /root path there isn't any file named .my.cnf.
i create .my.cnf file in the /root folder exactly as above required, and now i get this :
<<< ERROR >>> MySQL root user name or password is incorrect in /root/.my.cnf, please double check.
but the password is correct.

Thanks

----

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

2

Re: Error upgrading from 0.9.6 to 0.9.7

Please add mysql root user and password in it like below, then run this script again.

[client]
host=127.0.0.1
port=3306
user=root
password=xxxxxxxxxxx

3

Re: Error upgrading from 0.9.6 to 0.9.7

Edited the .my.cnf file as you wrote, then i have launched /bin/bash upgrade_iredapd.sh
Now the error is :
<<< ERROR >>> MySQL root user name or password is incorrect in /root/.my.cnf, please double check.

but the password is OK
please help
Thank You


ZhangHuangbin wrote:

Please add mysql root user and password in it like below, then run this script again.

[client]
host=127.0.0.1
port=3306
user=root
password=xxxxxxxxxxx

4

Re: Error upgrading from 0.9.6 to 0.9.7

rosatif wrote:

<<< ERROR >>> MySQL root user name or password is incorrect in /root/.my.cnf, please double check.

Please double check.

If you have correct mysql username and password, you can login to mysql by typing command "mysql" (without any arguments).

Also, try to replace '127.0.0.1' by 'localhost' and try again.