Advertisement
Guest User

Untitled

a guest
Sep 13th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.01 KB | None | 0 0
  1. $ sudo sockstat -l | grep mysqlsqueezeb mysqld 18742 tcp4 127.0.0.1:9092 *:* LISTEN
  2. mysql mysqld 19035 tcp4 *:3306 *:* LISTEN
  3.  
  4.  
  5. $ mythconverg_restore.pl --verbose --drop_database --create_database --filename mythconverg-1264-20110525205450-clean-install-before.sql.gz
  6.  
  7. Configuring environment:
  8. - username: hoferr
  9. - HOME: /home/hoferr
  10. - MYTHCONFDIR: /home/hoferr/.mythtv
  11.  
  12. Parsing configuration files:
  13. - checking: /home/hoferr/.mythtv/config.xml
  14. - checking: /usr/local/share/mythtv/mysql.txt
  15. - checking: /usr/share/mythtv/mysql.txt
  16. parsing: /usr/share/mythtv/mysql.txt
  17. - checking: /usr/local/etc/mythtv/mysql.txt
  18. - checking: /etc/mythtv/mysql.txt
  19. parsing: /etc/mythtv/mysql.txt
  20. - checking: /home/hoferr/.mythtv/mysql.txt
  21. - checking: mysql.txt
  22. - checking: /home/hoferr/.mythtv/mysql.txt
  23. - checking: /home/hoferr/.mythtv/backuprc
  24. parsing: /home/hoferr/.mythtv/backuprc
  25.  
  26. Applying command-line arguments.
  27.  
  28. Checking configuration.
  29.  
  30. Database Information:
  31. DBHostName: localhost
  32. DBPort: -1
  33. DBUserName: mythtv
  34. DBPassword: XXX
  35. DBName: mythconverg
  36. DBSchemaVer:
  37. DBBackupDirectory: /mnt/media-raid/db_backups
  38. DBBackupFilename: mythconverg-1264-20110525205450-clean-install-before.sql.gz
  39. drop_database: yes
  40. create_database: yes
  41.  
  42. Executables:
  43. mysql_client: mysql
  44. uncompress: gzip -d
  45.  
  46. Miscellaneous:
  47. partial_restore: no
  48. restore_xmltvids: no
  49. change_hostname: no
  50.  
  51. Checking database.
  52.  
  53. Preparing initial database.
  54.  
  55. Unable to connect to database.
  56. database: mythconverg
  57. host: localhost
  58. username: mythtv
  59. password: cKbv4aVI
  60.  
  61. Please check your configuration files to verify the database connection
  62. information is correct. The files that are used to retrieve connection
  63. information are prefixed with "parsing" in the "Parsing configuration files"
  64. section of the --verbose output.
  65.  
  66. Also note that any [client] or [mysql] password specified in the MySQL options
  67. file (/etc/my.cnf or /etc/mysql/my.cnf or ~/.my.cnf) will take precedence over
  68. the password specified in the MythTV configuration files.
  69.  
  70. ERROR: Unable to connect to database.
  71.  
  72.  
  73.  
  74. $ mysql -u root -p
  75. Enter password:
  76. Welcome to the MySQL monitor. Commands end with ; or \g.
  77. Your MySQL connection id is 101
  78. Server version: 5.1.49-3 (Debian)
  79.  
  80. Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
  81. This software comes with ABSOLUTELY NO WARRANTY. This is free software,
  82. and you are welcome to modify and redistribute it under the GPL v2 license
  83.  
  84. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  85.  
  86. mysql> exit
  87. Bye
  88. hoferr@media-server:/mnt/media-raid/db_backups$ mysql -u root -p -h 192.168.1.6
  89. Enter password:
  90. 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