[mythtv-users] Changing hostname instructions

Isaac Richards ijr at po.cwru.edu
Tue Jan 6 20:40:11 EST 2004


On Tuesday 06 January 2004 11:34 pm, J. Donavan Stanley wrote:
> Whats wrong with just using a simple SQL update to change the hostname?
>   No need to drop - grep - restore if all you want to do is change all
> occurances of hostxxx with hostyyy...
>
> UPDATE <tablename> SET hostname='hostyyy' WHERE hostname='hostxxx';
>
> Or am I missing something?

Any table that uses a timestamp field would get broken with that approach.

Isaac


More information about the mythtv-users mailing list