[mythtv] [PATCH] Bootstrap mysql.txt in mythcontext

Jeremiah Morris jm at whpress.com
Tue Nov 30 01:02:47 UTC 2004

For those who don't remember this thread, Nigel Pearson was working on 
a graphical method of specifying the mysql.txt parameters.  After a few 
attempts that didn't pass muster, Nigel and I have developed a fully 
Myth-themed implementation of this feature.


[The package contains a diff and two files (dbsettings.cpp/.h) for the 
libs/libmyth directory.]

If the initial database connection fails, mythfrontend (or the setup 
program, it works from either) will show a configuration wizard to set 
the host, database name, etc. The same settings are also available from 
the General setup wizard, so you can edit a working mysql.txt from 
within mythfrontend.  Programs without a GUI will use console-based 
prompts to read database parameters if the connection fails.

- Jeremiah

P.S. This isn't completely orthogonal to David Hardeman's proposed 
PostgreSQL support, but it shouldn't be too difficult to integrate with 
that project.  There's initial support for the "DBType" field that 
David suggested.

More information about the mythtv-dev mailing list