[mythtv-users] Setting up a new backend from scratch

Simon Hobson linux at thehobsons.co.uk
Thu Nov 22 11:34:35 UTC 2012

Thomas Boehm wrote:

>  > The should no space between the -p and the mysql password. There must be
>>  a space after the -u user bit. And it is clearly confusing to use the
>>  generic name of the *database* as the password.
>The last argument in the mysql command is the name of the database you
>want to log in. If no password is given after -p (without space as you
>rightly pointed out), it will prompt for it.

It's probably less confusion (to novice users) to use the long form :
   mysql --user=username -password=userpassword --database=databasename ...
More typing but more likely to be understood first time - as the user 
gets more confident, they can switch to short options if they wish.

Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

More information about the mythtv-users mailing list