I have problems starting the mythbackend service.
I have trayed to followed this steps in Bug 19127 - mythtv install problems (https://bugs.mageia.org/show_bug.cgi?id=19127).
The error I get is:
Access denied for user 'mythtv'@'localhost' (using password: YES)
What am I doing wrong/missing ?
Hope someone can "take my hand" and guide me in the right direction

Best regards
Anders
This is what I am doing:
- Code: Select all
[anders@localhost initialdb]$ pwd
/usr/share/mythtv/initialdb
[anders@localhost initialdb]$ ls -l
total 4
-rw-r--r-- 1 root root 338 Nov 2 16:32 mc.sql
- Code: Select all
[anders@localhost initialdb]$ [b]cat mc.sql [/b]
CREATE DATABASE IF NOT EXISTS mythconverg;
GRANT ALL ON mythconverg.* TO mythtv@127.0.0.1 IDENTIFIED BY "mythtv_Password";
FLUSH PRIVILEGES;
GRANT CREATE TEMPORARY TABLES ON mythconverg.* TO mythtv@127.0.0.1 IDENTIFIED BY "mythtv_Password";
FLUSH PRIVILEGES;
ALTER DATABASE mythconverg DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
- Code: Select all
[anders@localhost initialdb]$ [b]mysql -u root -p < mc.sql[/b]
Enter password:
[anders@localhost initialdb]$
- Code: Select all
[anders@localhost initialdb]$ ls -l /etc/systemd/system/mythbackend.service.d/local.conf
-rw-r--r-- 1 root root 91 Nov 2 08:20 /etc/systemd/system/mythbackend.service.d/local.conf
- Code: Select all
[anders@localhost initialdb]$ [b]cat /etc/systemd/system/mythbackend.service.d/local.conf[/b]
[Service]
Environment=MYTHTV_HOME=/var/lib/mythtv
Environment=MYTHCONFDIR=/var/lib/mythtv
- Code: Select all
[anders@localhost mythtv]$ pwd
/var/log/mythtv
[anders@localhost mythtv]$ [b]systemctl start mythbackend[/b]
- Code: Select all
[anders@localhost mythtv]$ [b]cat mythbackend.20171102154925.11790.log[/b]
2017-11-02 16:49:25.913063 C [11790/11790] thread_unknown mythcommandlineparser.cpp:2599 (ConfigureLogging) - mythbackend version: fixes/0.28.1 [0.28.1-20170528.6.mga6.tainted (aka v0.28.1-23-gaf9826)] http://www.mythtv.org
2017-11-02 16:49:25.913074 C [11790/11790] thread_unknown mythcommandlineparser.cpp:2601 (ConfigureLogging) - Qt version: compile: 5.6.2, runtime: 5.6.2
2017-11-02 16:49:25.913075 N [11790/11790] thread_unknown mythcommandlineparser.cpp:2603 (ConfigureLogging) - Enabled verbose msgs: general
2017-11-02 16:49:25.913114 N [11790/11790] thread_unknown logging.cpp:920 (logStart) - Setting Log Level to LOG_INFO
2017-11-02 16:49:25.923549 I [11790/11796] Logger logging.cpp:313 (run) - Added logging to the console
2017-11-02 16:49:25.923738 I [11790/11790] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Interrupt handler
2017-11-02 16:49:25.923742 I [11790/11790] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Terminated handler
2017-11-02 16:49:25.923745 I [11790/11790] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Segmentation fault handler
2017-11-02 16:49:25.923748 I [11790/11790] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Aborted handler
2017-11-02 16:49:25.923751 I [11790/11790] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Bus error handler
2017-11-02 16:49:25.923754 I [11790/11790] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Floating point exception handler
2017-11-02 16:49:25.923756 I [11790/11790] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Illegal instruction handler
2017-11-02 16:49:25.923761 I [11790/11790] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Real-time signal 0 handler
2017-11-02 16:49:25.923764 I [11790/11790] thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) - Setup Hangup handler
2017-11-02 16:49:25.923779 N [11790/11790] thread_unknown mythdirs.cpp:33 (InitializeMythDirs) - Read conf dir = /var/lib/mythtv
2017-11-02 16:49:25.923791 N [11790/11790] thread_unknown mythdirs.cpp:192 (InitializeMythDirs) - Using runtime prefix = /usr
2017-11-02 16:49:25.923793 N [11790/11790] thread_unknown mythdirs.cpp:194 (InitializeMythDirs) - Using configuration directory = /var/lib/mythtv
2017-11-02 16:49:25.923820 I [11790/11790] CoreContext mythcorecontext.cpp:266 (Init) - Assumed character encoding: en_DK.UTF-8
2017-11-02 16:49:25.923876 E [11790/11790] CoreContext mythdbparams.cpp:39 (IsValid) - DBHostName is not set in config.xml
2017-11-02 16:49:25.923885 E [11790/11790] CoreContext mythdbparams.cpp:39 (IsValid) - DBHostName is not set in config.xml
2017-11-02 16:49:25.923892 N [11790/11790] CoreContext mythcontext.cpp:505 (LoadDatabaseSettings) - Empty LocalHostName.
2017-11-02 16:49:25.923894 I [11790/11790] CoreContext mythcontext.cpp:513 (LoadDatabaseSettings) - Using localhost value of localhost
2017-11-02 16:49:25.928397 E [11790/11790] CoreContext mythdbcon.cpp:229 (OpenDatabase) - [DBManager0] Unable to connect to database!
2017-11-02 16:49:25.928410 E [11790/11790] CoreContext mythdbcon.cpp:230 (OpenDatabase) - Driver error was [1/1045]:
QMYSQL: Unable to connect
Database error was:
[b]Access denied for user 'mythtv'@'localhost' (using password: YES)[/b]
2017-11-02 16:49:25.928426 I [11790/11790] CoreContext mythcontext.cpp:809 (UPnPautoconf) - UPNP Search 2 secs
2017-11-02 16:49:26.023909 I [11790/11795] LogForward loggingserver.cpp:142 (FileLogger) - Added logging to /var/log/mythtv/mythbackend.20171102154925.11790.log
2017-11-02 16:49:26.283376 I [11790/11790] CoreContext mythcontext.cpp:824 (UPnPautoconf) - UPNP Search 1 secs
2017-11-02 16:49:26.605826 I [11790/11790] CoreContext mythcontext.cpp:824 (UPnPautoconf) - UPNP Search 1 secs
2017-11-02 16:49:28.055551 I [11790/11790] CoreContext mythcontext.cpp:834 (UPnPautoconf) - No UPnP backends found
2017-11-02 16:49:28.055608 C [11790/11790] CoreContext main.cpp:132 (main) - Failed to init MythContext.
[anders@localhost mythtv]$