Centos 5.3 & OX6 "access denied"
Must be missing something very obvious:
Logon as a general user not one of oxadminmaster or oxadmin
Mysql is running
/opt/open-xchange/sbin/ is in PATH
/opt/open-xchange/sbin/initconfigdb --configdb-pass=db_password -a
and I get an error of:
need to be root in order to setup the system
if I run
sudo bash /opt/open-xchange/sbin/initconfigdb -a --configdb-pass=db_password
I get an error of
initializing configdb from scratch...ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) ERROR
so what have I missed please.
those two errors are not related, one refers to the root user of the operating system, the other to the root user of the mysql database. Indeed you need to be "root" at the OS to execute those scripts. The error messages tells you that MySQL user "root" is not allowed to connect to mysql on localhost without a password. To execute this script, please drop the password for user root, you can enable it again afterwards.