Same story Sorry, seems to be same story.
zimbra@mail:~> rm -rf db/data/*
zimbra@mail:~> /opt/zimbra/libexec/zmmyinit
* Creating required directories
* Generating mysql config /opt/zimbra/conf/my.cnf
* Creating database in /opt/zimbra/db/data
* Starting mysql server
* Loading schema /opt/zimbra/db/db.sql
ERROR 2013 (HY000): Lost connection to MySQL server during query
* Loading version from /opt/zimbra/db/versions-init.sql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)
* Setting random passwd for mysql root user in zimbra localconfig
* Setting random passwd for mysql zimbra user in zimbra localconfig
* Changing mysql root user password
/opt/zimbra/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/opt/zimbra/db/mysql.sock' exists!
* Changing mysql zimbra user password
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)
**** PASSWORD CHANGE FAILED
I also looked around a bit, and it seems like the vars that should? be set in mysql.server (such as zmsetvars mysql_directory mysql_pidfile mysql_mycnf
) does not seem to be set.
cd /opt/zimbra/bin and running source `dirname $0`/zmshutil || exit 1
echo $mysql_directory shows nothing.
(is it supposed to?)
could it be any prerequsite before installing that is wrong, causing this? Is there anything changed that needs additional libraries not specified in the quickstart.(as said before, this machine ran and older beta just fine)
/Daniel |