[mythtv-users] Backing up the mysql database
Brian Wallen
brian_wallen at hotmail.com
Tue Aug 30 03:59:31 UTC 2005
It still has the same result. I get that stupid error message
mythtv ~ # mysqldump -c -u mythtv --password=mythtv mythconverg >
mythtv_backup.sql
mysqldump: unknown option '--name-resolve'
mythtv ~ #
<BLOCKQUOTE style='PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #A0C6E5
2px solid; MARGIN-RIGHT: 0px'><font
style='FONT-SIZE:11px;FONT-FAMILY:tahoma,sans-serif'><hr color=#A0C6E5
size=1>
From: <i>chris at cpr.homelinux.net</i><br>Reply-To: <i>Discussion about
mythtv <mythtv-users at mythtv.org></i><br>To: <i>Discussion about
mythtv <mythtv-users at mythtv.org></i><br>Subject: <i>Re:
[mythtv-users] Backing up the mysql database</i><br>Date: <i>Mon, 29 Aug
2005 19:37:52 -0700</i><br>>On Tue, Aug 30, 2005 at 12:54:58AM +0000,
Brian Wallen wrote:<br>> > I'm moving backend servers, and I want to
take my database with me. I<br>> > looked at the documentation at
mythtv.org and did what it told me, but I'm<br>> > getting an odd
error. Can anyone help? Here is what I do.<br>> ><br>> > mythtv
~ # mysqldump -u mythtv -pmythtv mythconverg -c >
mythtv_backup.sql<br>> > mysqldump: unknown option
'--name-resolve'<br>><br>>According to the mysqldump man page your
command is formed incorrectly.<br>>The options should all precede the
database name and you can't specify a<br>>password using the -p option.
Try:<br>><br>>mysqldump -c -u mythtv --password=mythtv mythconverg
> mythtv_backup.sql<br>>or<br>>mysqldump -c -u mythtv -p
mythconverg > mythtv_backup.sql<br>><br>>In the second case
mysqldump will prompt you for the password (which is<br>>also more secure
since it doesn't show in a ps listing).<br>><br>>--<br>>A: Because
it messes up the order in which people normally read text.<br>>Q: Why is
top-posting such a bad thing?<br>>A: Top-posting.<br>>Q: What is the
most annoying thing on usenet and in
e-mail?<br><p>>_______________________________________________<br>>mythtv-users
mailing
list<br>>mythtv-users at mythtv.org<br>>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<br><p></font></BLOCKQUOTE>
More information about the mythtv-users
mailing list