# Connect MythTV and XBMC

## XBMCMythTV script:

How to make your XBMC connect to the MythTV MySQL database:

Method 1)

it doesn't seem to work if you use the PHPmyadmin interface, so do it just hardcore from the CLI:

`UPDATE mysql.user `  
`SET password=OLD_PASSWORD('mythtv') `  
`WHERE user='mythtv' `  
`AND host='someip'; `

---

Method 2)

This allows the xbox to connect remotely to the server running the mythtv backend. Run it on the backend in mysql command line.

`GRANT ALL PRIVILEGES ON *.* TO root@"192.168.1.60" identified by "MyPassword"; `

The IP is that of the XBOX.

Remember that XBMC does not support the DB-connection interface version of the latest MythTV versions, yet.....