This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to use an external MySQL database?

Tags: None
(comma "," separated)
User avatar
Bernd
Registered Member
Posts
19
Karma
0
Should be simple really, well documented all over the place really. But go figure, I'm still stuck.

I followed this for example:

http://how-to.linuxcareer.com/using-mys ... -on-amarok

and I have a database and can connect to it:

Code: Select all
bernd@bigfoot ~ $ mysql -u amarok -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 80
Server version: 5.5.46-0ubuntu0.14.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> status;
--------------
mysql  Ver 14.14 Distrib 5.5.46, for debian-linux-gnu (x86_64) using readline 6.3

Connection id:      80
Current database:   
Current user:      amarok@localhost
SSL:         Not in use
Current pager:      stdout
Using outfile:      ''
Using delimiter:   ;
Server version:      5.5.46-0ubuntu0.14.04.2 (Ubuntu)
Protocol version:   10
Connection:      Localhost via UNIX socket
Server characterset:   latin1
Db     characterset:   latin1
Client characterset:   utf8
Conn.  characterset:   utf8
UNIX socket:      /var/run/mysqld/mysqld.sock
Uptime:         58 min 11 sec

Threads: 7  Questions: 971  Slow queries: 0  Opens: 189  Flush tables: 1  Open tables: 41  Queries per second avg: 0.278
--------------

mysql> show grants;
+--------------------------------------------------------------------+
| Grants for amarok@%                                                |
+--------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'amarok'@'%' IDENTIFIED BY PASSWORD <secret> |
| GRANT ALL PRIVILEGES ON `amarok`.* TO 'amarok'@'%'                 |
+--------------------------------------------------------------------+
2 rows in set (0.00 sec)

mysql> use amarok
Database changed
mysql> show tables ;
Empty set (0.00 sec)
mysql>


and I've configured Amarok:

https://flic.kr/p/BZs4Ux

And restarted Amarok and yet there are no tables.

What gives? What am I missing?
User avatar
Bernd
Registered Member
Posts
19
Karma
0
As an experiment I when to the the Configure - Amarok window and the Local Collection page. I clicked Full Rescan but could see no results.

So instead I unchecked my audio folder, and quite Amarok and restarted. Then I went back and checked it and applied and rescan was apparent by virtue of "Scanning Music" displayed under the Media Sources pane. I let it run to completion. still I see no tables in my database.

I restarted Amarok and still none.


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, Sogou [Bot], Yahoo [Bot]