• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Unite Innovations

  • Professional Services
    • Advanced Multi-functional Security And Utility Appliance
    • Computer Repair
    • Data Recovery And Disposal
    • I.T. Services
    • Identity And Credit Theft Protection And Monitoring
    • Internet Marketing
    • Managed Cloud Based (VOIP) Phone Service
    • Monitoring And Inventory
    • Online Backup And Storage
  • Posts
  • Locations
    • Loxahatchee, FL Location
  • About Us

Change Mythtv Password For Mysql And Mythweb

July 7, 2016 By Unite Innovations

You may want to change the password for Mythtv, especially that when Mythtv is first installed it auto generates a generic password to connect the front end to the back-end, connect to the database, and for the Mythweb to connect to the database. Fortunately all of these share the same password. The auto generated generic password could be troublesome, so here is how to change it. I will explain on how to change these passwords using ssh. Ssh should be ready for use on the Mythtv box first.

Changing Mysql Password

First the password should be changed for the Mysql database. open ssh terminal. These following commands will change the mysql password to “mythtv”:

# mysql -u root -p mysql

myqsl> GRANT ALL PRIVILEGES ON *.* TO 'mythtv'@'localhost' IDENTIFIED BY 'mythtv' WITH GRANT OPTION;

mysql> UPDATE user SET Password=PASSWORD('mythtv') WHERE user='mythtv';

mysql> FLUSH PRIVILEGES;

mysql> quit

Changing Mythweb Password To Match

Now that the database password has been changed, lets change the password for mythweb. In ssh terminal edit the mythweb.conf file. I preffer nano.

# sudo nano /etc/apache2/sites-available/mythweb.conf

Find the spot in the file where it says “setenv db_password”. You will see the old password. Change it to “mythtv” so that it matches the database password.

Change Mythtv Password For Mysql And Mythweb mythweb

Reboot Mythtv, then change the passwords on any front ends or devices to “mythtv” as needed.

Filed Under: Tutorials

Primary Sidebar

Dade, Broward, Palm Beach Or Jupiter
(305) 523-9118

Let’s work together

Get in touch with us and send some basic info about your project.

Contact Us

Footer

Social

Follow along on social media.

Unite Innovations FaceBook
Unite Innovations Instagram
Unite Innovations YouTube Channel

Navigation

  • About Us
  • Services
  • Locations
  • Professional Services

Loxahatchee Mailing Address

7040 Seminole Pratt Whitney Rd, # 25-83
Loxahatchee, FL 33470
(305) 523-9118
Mo,Tu,We,Th,Fr 9:00 am – 5:00 pm

Copyright © 2025 · Unite Innovations