Database Name Change

Ok…

So after some more research I found: http://andrewapeterson.com/2012/08/fix-wordpress-media-library-and-attachments-broken-after-movingcloning-site/ which explains that you can’t just do a find and replace in a text editor and be good to go.

Fortunately, I still had the original database, so I dropped all the tables in the tsi_ database and restored the original wp_ database.

All my images were restored and the site was back to normal, now to change the database prefix properly…

I found a plugin called Change DB Prefix: https://wordpress.org/plugins/db-prefix-change/ it allows you to put in the old prefix wp_ and replace it with a new one tsi_.

The plugin safely changed my database prefix and updated my wp_config file in less than a second! All my images are fine and everything is now up and running correctly with the new database prefix!!

Hope this helps someone!

Thanks,
Josh