[mythtv-users] MSQL statement - find all references

Carl Fongheiser carlfongheiser at gmail.com
Mon Feb 12 22:38:54 UTC 2007


On 2/12/07, A JM <vbtalent at gmail.com> wrote:
>
> Does grep find any text containing the search string or specifically
> what you ask for?
>
> #grep mythtv dbdump.sql
>
> will it find 'myth' and 'my', etc?


No, it won't.  If you want that, you need to use a shorter query string.

If I want to do a search and replace on the DB what is the
> preferred/safest method?


Make the changes in the backup file, and restore from that.

However, if you tell us what you're really trying to do, we may be able to
suggest an easier way.

Carl Fongheiser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070212/f6bde534/attachment.htm 


More information about the mythtv-users mailing list