GRANT ALL ON ncid.* TO mythtv@localhost IDENTIFIED BY "mythtv";
GRANT ALL ON ncid.* TO mythtv@"%" IDENTIFIED BY "mythtv";
GRANT FILE ON *.* TO 'mythtv'@'%';
FLUSH PRIVILEGES;

FLUSH PRIVILEGES;
ALTER DATABASE ncid DEFAULT CHARACTER SET latin1;