[mythtv-users] cannot connect to database
staticsupply
staticsupply at cox.net
Mon Jul 20 13:16:59 UTC 2009
Wonderful that took care of the permission issues. I was able to put change
my.cnf file to #bind-address 12.0.0.1, however, when I load the frontend on
my backend machine I still get sent to the language screen and then the
database set up screen followed by cannot login to database?
What else could be causing this issue?
On 07/15/2009 01:01 PM, Brian Wood wrote:
> On Wednesday 15 July 2009 10:29:44 staticsupply wrote:
>
>> So I type sudo then an editor program from terminal then open the file
>> change it and it should save that way?
>>
> Yes, sudo should run the editor (vi, or perhaps pico?) as root, and should
> thus be able to change any file.
Better approach is to use sudoedit, as it runs $EDITOR (meaning the
user's preferred editor) with the non-privileged user's privileges, so
any bugs/holes in $EDITOR are less likely to be a problem. Instead of
running the editor as root, it simply copies the file (to and fro) to
work around privilege issues.
sudoedit /etc/mysql/my.cnf
or whatever...
Mike
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
More information about the mythtv-users
mailing list