Opened 4 years ago

Last modified 4 years ago

#12687 infoneeded_new Bug Report - General

mythweb does not use config.xml

Reported by: cncook001@… Owned by: Rob Smith
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: 0.27-fixes
Severity: medium Keywords: config.xml mysql.txt
Cc: Ticket locked: no


According to this page:

mysql.txt is no longer required but mythweb still requires it.

File /usr/share/mythtv/bindings/php/MythTV.php does not look for config.xml


// List of the default locations of the config files and the one we are using
    public $ConfigFiles        = array( '/usr/local/share/mythtv/mysql.txt',
                                        'mysql.txt' );

Change History (3)

comment:1 Changed 4 years ago by Bill Meek

Status: newinfoneeded_new

Please define the problem that you're seeing. The DB access information is kept in /etc/apache2/sites.enabled similar to this:

            setenv db_server        "localhost"
            setenv db_name          "mythconverg"
            setenv db_login         "mythtv"
            setenv db_password      "yourPassword"

comment:2 Changed 4 years ago by cncook001@…

Ah, mythweb would not login due to an incorrect password. If I edit the apache file it works. I assert that config.xml is the correct way for mythweb to operate though. The username & password should not be stored in two different places.

comment:3 in reply to:  2 Changed 4 years ago by Gary Buhrmaster <gary.buhrmaster@…>

Replying to cncook001@…:

I assert ....

So, works as designed. I am sure your patches would be reviewed.

Note: See TracTickets for help on using tickets.