How to find all occurrences of a URL in a MySQL database

435855 pts.
Tags:
Database
MySQL
MySQL Database
A friend of mine has been having trouble dealing with his MySQL database. He's been trying to locate all occurrences of a URL in the database but he doesn't know where to start. He wants to search all of the tables / fields. Appreciate the help.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

If you have phpmyadmin installed, it has a global search feature. Otherwise,  you will use command line something like this:

mysqldump -u myuser –no-create-info databasename > myfile.sql

Then you can just do a find on myfile.sql for the URL you want.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: