Comments (4)
Never mind, I wrote my own
https://github.com/theMikeD/wpdbtransfer/
...Mike
from search-replace-db.
Hi Mike,
Nicely done :)
It's an interesting idea but would require a fair bit of planning to add to
the UI. I've not come across a use-case where I've wanted to search/replace
an SQL dump directly as it'll be just be getting imported somewhere anyway.
Is it to avoid the downtime of possibly running search/replace on a
production site?
from search-replace-db.
It's because I'm lazy :)
If I can run it on a command line, then I can make a script to feed it the required variables. And if I can do that, then once I set it up, doing future adjustments is one click: run the shell script that runs the script and presto, done.
I move databases around a lot, so I've found it's just easier to do it with a script, because the interface while awesome still asks me every time to put in the from and to replacement values.
Mine is a dumb fix in that it's not parsing the entire serialized data, just searching for strings and adjusting them. Seems to work so far though. I'll keep an eye on your project for sure, it's very slick.
from search-replace-db.
@theMikeD I'll close this ticket for now, do check out the CLI script that's available with this if you want to automate. I've updated it with lots of options recently.
from search-replace-db.
Related Issues (20)
- Possible XSS vulnerability HOT 5
- Poor CSS in search & replace script v. 4.1.3 HOT 4
- Incomplete or ill-typed serialization data HOT 14
- Array to string conversion when using regex
- Escaped URLs are not found HOT 4
- Skip the tables HOT 1
- found AJAX error
- Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in srdb.class.php on line 861
- Escaped URL seems to be ignored with Regex
- -bash: !28: event not found HOT 3
- [PHP8] SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'url' at row 1 HOT 2
- Make selected tables filterable HOT 1
- Erroneous data format for unserializing HOT 1
- Highlighting is gone after version 4.0, Can you bring it back? HOT 1
- Errors on PHP 8.1 HOT 6
- INFO: Local database connection refused HOT 1
- db: SQLSTATE[HY000] [2002] Connection refused
- table name 'wp_mmp_rechnung_history_2014-05-19' crashes srdb HOT 1
- Does not work on php 8.2+ 8.3 runs into a loop and a fatal. HOT 2
- Exclude tables with * wildcard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from search-replace-db.