[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Akonadi Database maintenance



On Wednesday, 16 August 2017 12:10:02 UTC+1, Martin Steigerwald  wrote:
> anxiousmac - 16.08.17, 01:34:
> > This fails for me as I cannot connect to mysql as user or unix root. I'm
> > don't know which users are enabled for the akonadi embedded mysql as
> > opposed to the system one (not in fact installed on this machine)
> > 
> > mysql_upgrade --socket ~/.local/share/akonadi/socket-hostname/mysql.socket 
> > Looking for 'mysql' as: mysql
> > Looking for 'mysqlcheck' as: mysqlcheck
> > Error: Failed while fetching Server version! Could be due to unauthorized
> > access. FATAL ERROR: Upgrade failed
> > 
> > Any suggestions?
> 
> I have no idea why it falls.
> 
> You are running mysql_upgrade as the user Akonadi is running in?
> 
> Is MySQL/MariaDB, well Akonadi, running? MySQL/MariaDB needs to run for the 
> command to be able to contact it.
> 
> What does mysql.err log say?
> 
> Thanks,
> -- 
> Martin

akonadiserverrc in .config suggests that one is using the system /usr/sbin/mysqld and the other (broken) one /usr/sbin/mysqld-akonadi. I will have to investigate further but don't have time now.


Reply to: