Amarok - problem with database


when I try to run Amarok I receive this information:

The Amarok database reported the following errors:
MySQL-server query failed! (2002) Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2 "Nie ma takiego pliku ani katalogu") on call to mysql_real_connect
In most cases you will need to resolve these errors before Amarok will run properly.

How to solve this?


What have you looked at so far? Have you done any web search or did you immediately post in the forum and want someone else to search the web for you?

Let’s try a search for “amarok Can’t connect to local MySQL server”… of which one result is:

So, are you using a MySQL database to store information?

Have you altered your Amarok configuration? Has it ever worked correctly? If so, what has changed since then?


thanks for reply. Of course I have looked on the Internet before. Now when I unchecked “Use external MySQL database” I have exactly this case - Amarok returns code 1:

Any suggestion?


Can you try building the AUR package verson:

and feed back whether it works.


Thanks but I am not so advanced. I’ve started to use Clementine and it is more than okay :slight_smile:

==> Create and install package
==> Create package: libssh-gnutls 0.8.5-1 (Do 13 Dec 2018 22:03:46 CET)
==> Check runtime dependencies...
==> Check Buildtime dependencies...
==> Receive sources...
  -> Download libssh-0.8.5.tar.xz...
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 417k 100 417k 0 0 639k 0 --:--:-- --:--:-- --:--:--:-- 638k
  -> Download libssh-0.8.5.tar.xz.asc...
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 833 100 833 0 0 8087 0 --:--:-- --:--:-- --:--:-- 8087
==> Check source files with sha256sums...
    libssh-0.8.5.tar.xz ... Run through
    <font color=#38B0DE>-==- Proudly Presents Skip
==> Verify signatures of source files with gpg...
    libssh-0.8.5.tar.xz ... Failed (Unknown public key 7EE0FC4DCC014E3D)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR:Makepkg could not create libssh-gnutls.
==> Restart creation of libssh-gnutls?[y/N]
==> ---------------------------------------------