How to easily search/replace in MySQL database?
February 6, 2007 9:09 AM
Subscribe
Is there an easy, preferably open source way of editing MySQL table contents? I was hoping for something which would let me use Excel (or OO Calc) to edit the live database. I need to search/replace many items in a poorly imported database.
I've tried Google, but I find there are many convoluted answers and old software floating around. OO base is pretty neat, and I got it to work with my MySQL, but I can't easily search/replace within the base application. Importing to Calc hangs my OO.
It's taking me longer to figure out how to search/replace than doing it one entry at a time. Yes, I have backed up the database before tinkering.
posted by Yavsy to computers & internet (10 comments total)
1 user marked this as a favorite
If so, MySQL has a string replace function called replace (not to be confused with the record replacing function of the same name):
Some examples here.
posted by justkevin at 9:21 AM on February 6, 2007