mysql -h backend -u mythtv -p mythconverg
select * from program
where backend is the name or ip of your backend.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)