[mythtv-users] How to connect a FE to a remote BE

Marc Sherman msherman at projectile.ca
Wed Nov 14 21:29:58 UTC 2007


On Nov 14, 2007 2:54 PM, Glen Hawksworth <glenhawk at optusnet.com.au> wrote:
>>
>> Access denied for user 'root'@'localhost' (using password: NO)
>>
>> now I know the password but don't know where to put it or how to include
>> it in that line (mythtv told me that a root password was a good idea and
>> let me set one so I do know the root password)

Craig Huff wrote:
> 
> Try this:
> $ mysql -u root -pPASSWORD mythconverg
> 
> Where PASSWORD is replaced by whatever you set the mysql password to.
> Note that there is *no* space between the -p switch and the password text.

That's bad advice. If you do that, you'll end up with your password 
stored in the clear in your bash history file.

It's better to use just -p (without the password), which will cause the 
mysql client to prompt you for the password at launch.

- Marc


More information about the mythtv-users mailing list