我想弄清楚如何在数据库中定位所有出现的 url.我想搜索所有表格和所有字段.但我不知道从哪里开始,或者是否有可能.
I'm trying to figure out how to locate all occurrences of a url in a database. I want to search all tables and all fields. But I have no idea where to start or if it's even possible.
一个简单的解决方案是这样做:
A simple solution would be doing something like this:
mysqldump -u myuser --no-create-info --extended-insert=FALSE databasename | grep -i "<search string>"
这篇关于在 mysql 数据库中搜索所有出现的字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!