[Bug 248929] databases/akonadi: Fails to start with MySQL errors

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 27 12:48:20 BST 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248929

--- Comment #3 from Adam Jimerson <vendion at gmail.com> ---
(In reply to Tobias C. Berner from comment #2)

I don't know if that will work out of the box as the default
/usr/local/etc/xdg/akonadi/mysql-global.conf  has the "skip_networking" option
enabled.

I did try updating my ~/.config/akonadi/akonadiserverrc with the following

> [Debug]
> Tracer=null
> 
> [%General]
> Driver=QMYSQL
> 
> [QMYSQL]
> Host=Heimdall
> Name=akonadi
> Options=""
> ServerPath=/usr/local/libexec/mysqld
> StartServer=true

> [Debug]
> Tracer=null
> 
> [%General]
> Driver=QMYSQL
> 
> [QMYSQL]
> Host=localhost
> Name=akonadi
> Options=""
> ServerPath=/usr/local/libexec/mysqld
> StartServer=true


When I ran akonadictl start --verbose with those I got the same error, and it
updated my config file adding back in the
"Options="UNIX_SOCKET=/tmp/runtime-vendion/akonadi/mysql.socket" options.

> org.kde.pim.akonadictl: Starting Akonadi Server...
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-vendion'
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-vendion'
> org.kde.pim.akonadictl:    done.
> Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
> [/u/h/vendion]─> org.kde.pim.akonadiserver: Starting up the Akonadi Server...                                                                                                                                                               
> org.kde.pim.akonadiserver: Found mysql_install_db:  "/usr/local/bin/mysql_install_db"
> org.kde.pim.akonadiserver: Found mysqlcheck:  "/usr/local/bin/mysqlcheck"
> org.kde.pim.akonadiserver: Using mysqld: "/usr/local/libexec/mysqld"
> org.kde.pim.akonadiserver: Did not find MySQL server default configuration (mysql-global.conf)
> org.kde.pim.akonadiserver: terminating connection threads
> org.kde.pim.akonadiserver: terminating service threads
> org.kde.pim.akonadiserver: stopping db process
> org.kde.pim.akonadiserver: Failed to remove runtime connection config file
> org.kde.pim.akonadiserver: Shutting down AkonadiServer...
> org.kde.pim.akonadicontrol: Application '/usr/local/bin/akonadiserver' exited normally...

To experiment I copied over /usr/local/etc/xdg/akonadi/mysql-global.conf to
~/.config/akonadi/mysql-local.conf as the file suggests and commented out the
"skip_networking" option and tried with the same result.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list