Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo sockstat -l | grep mysqlsqueezeb mysqld 18742 tcp4 127.0.0.1:9092 *:* LISTEN
- mysql mysqld 19035 tcp4 *:3306 *:* LISTEN
- $ mythconverg_restore.pl --verbose --drop_database --create_database --filename mythconverg-1264-20110525205450-clean-install-before.sql.gz
- Configuring environment:
- - username: hoferr
- - HOME: /home/hoferr
- - MYTHCONFDIR: /home/hoferr/.mythtv
- Parsing configuration files:
- - checking: /home/hoferr/.mythtv/config.xml
- - checking: /usr/local/share/mythtv/mysql.txt
- - checking: /usr/share/mythtv/mysql.txt
- parsing: /usr/share/mythtv/mysql.txt
- - checking: /usr/local/etc/mythtv/mysql.txt
- - checking: /etc/mythtv/mysql.txt
- parsing: /etc/mythtv/mysql.txt
- - checking: /home/hoferr/.mythtv/mysql.txt
- - checking: mysql.txt
- - checking: /home/hoferr/.mythtv/mysql.txt
- - checking: /home/hoferr/.mythtv/backuprc
- parsing: /home/hoferr/.mythtv/backuprc
- Applying command-line arguments.
- Checking configuration.
- Database Information:
- DBHostName: localhost
- DBPort: -1
- DBUserName: mythtv
- DBPassword: XXX
- DBName: mythconverg
- DBSchemaVer:
- DBBackupDirectory: /mnt/media-raid/db_backups
- DBBackupFilename: mythconverg-1264-20110525205450-clean-install-before.sql.gz
- drop_database: yes
- create_database: yes
- Executables:
- mysql_client: mysql
- uncompress: gzip -d
- Miscellaneous:
- partial_restore: no
- restore_xmltvids: no
- change_hostname: no
- Checking database.
- Preparing initial database.
- Unable to connect to database.
- database: mythconverg
- host: localhost
- username: mythtv
- password: cKbv4aVI
- Please check your configuration files to verify the database connection
- information is correct. The files that are used to retrieve connection
- information are prefixed with "parsing" in the "Parsing configuration files"
- section of the --verbose output.
- Also note that any [client] or [mysql] password specified in the MySQL options
- file (/etc/my.cnf or /etc/mysql/my.cnf or ~/.my.cnf) will take precedence over
- the password specified in the MythTV configuration files.
- ERROR: Unable to connect to database.
- $ mysql -u root -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 101
- Server version: 5.1.49-3 (Debian)
- Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
- This software comes with ABSOLUTELY NO WARRANTY. This is free software,
- and you are welcome to modify and redistribute it under the GPL v2 license
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- mysql> exit
- Bye
- hoferr@media-server:/mnt/media-raid/db_backups$ mysql -u root -p -h 192.168.1.6
- Enter password:
- ERROR 1045 (28000): Access denied for user 'root'@'192.168.1.6' (using password: YES)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement