Opened 10 years ago
Closed 6 years ago
#12687 closed Bug Report - General (Feature request without patch)
mythweb does not use config.xml
| Reported by: | 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 |
Description
According to this page: https://www.mythtv.org/wiki/Config.xml
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
lines:
// List of the default locations of the config files and the one we are using
public $ConfigFiles = array( '/usr/local/share/mythtv/mysql.txt',
'/usr/share/mythtv/mysql.txt',
'/usr/local/etc/mythtv/mysql.txt',
'/etc/mythtv/mysql.txt',
'~/.mythtv/mysql.txt',
'mysql.txt' );
Change History (4)
comment:1 by , 10 years ago
| Status: | new → infoneeded_new |
|---|
follow-up: 3 comment:2 by , 10 years ago
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 by , 10 years ago
Replying to cncook001@…:
I assert ....
So, works as designed. I am sure your patches would be reviewed.
comment:4 by , 6 years ago
| Resolution: | → Feature request without patch |
|---|---|
| Status: | infoneeded_new → closed |
I believe this is working as designed so closing as 'feature request without patch'.

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"