[mythtv-users] mythconverg_restore problem

Jack McGee jack at greendesk.net
Sat Dec 6 16:05:12 UTC 2008


> Heh.  That explains it.  The filename used for the scripts was changed 
> before they were checked in, so I never could have encountered the issue 
> you're seeing during testing.
>
>
>   


Thanks, I moved the scrips and we're past that error.  now I get this:

$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 46
Server version: 5.0.51a-3ubuntu5.1 (Ubuntu)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> drop database mythconverg;
Query OK, 0 rows affected (0.00 sec)

mysql> quit
Bye
$ perl /usr/share/mythtv/mythconverg_restore.pl --username=root --verbose

Configuring environment:
  -    username:  mythtv
  -        HOME:  /home/mythtv
  - MYTHCONFDIR:  /home/mythtv/.mythtv

Parsing configuration files:
  - checking:  /home/mythtv/.mythtv/config.xml
     parsing:  /home/mythtv/.mythtv/config.xml
  - checking:  /home/mythtv/.mythtv/backuprc
     parsing:  /home/mythtv/.mythtv/backuprc

Applying command-line arguments.

Checking configuration.

No filename specified. Attempting to find the newest database backup.
Using database backup file:
/mnt/bigboymnt/mythbackup/mythconverg-1214-20081203030002.sql

Database Information:
         DBHostName:  localhost
             DBPort:  0
         DBUserName:  root
         DBPassword:  XXX
             DBName:  mythconverg
        DBSchemaVer: 
  DBBackupDirectory:  /mnt/bigboymnt/mythbackup
   DBBackupFilename:  mythconverg-1214-20081203030002.sql
    create_database:  /usr/share/mythtv/sql/mc.sql

Executables:
       mysql_client:  mysql
         uncompress:  gzip -d

Miscellaneous:
    partial_restore:  no
   restore_xmltvids:  no
    change_hostname:  no

Checking database.
Unable to connect to database.

Attempting to use supplied password for mysql command-line client.
Any [client] or [mysql] password specified in the MySQL options file will
take precedence.

Attempting to create initial database.

Executing command:
mysql --defaults-extra-file='/tmp/ZGPlpRHK6q' --host='localhost' 
--user='root'  2>&1 < /usr/share/mythtv/sql/mc.sql

mysql exited with status:  0

Unable to create initial database, stopped at 
/usr/share/mythtv/mythconverg_restore.pl line 924.






More information about the mythtv-users mailing list