'wp' as the database name – migration problems
-
Hi guys!
I run a WordPress site on localhost. Unluckily, I named my database as ‘wp’. Now I need to create a copy of the site on localhost and soon I’ll have to do the same in the web.
I used to export database as a .sql file and then manually change all ‘database name’ and the folder rout. It worked when the site was not that big. Now I cannot intelligently change all these ‘wp’ as a database name and route name without damaging different files and tables which have ‘wp’ in its names.
What could be done? Maybe a plugin or some smart know-how to change right ‘wp’ in the sql export? Note that i cannot just change ‘/wp’ to ‘/something’ – in SQL file there are many routes like ‘/wp-content/…’
Thanks
- The topic ‘'wp' as the database name – migration problems’ is closed to new replies.