Manual:RenameDbPrefix.php

Details
renameDbPrefix.php file is a maintenance script to change the prefix of database tables.

Run this script to after changing on a wiki. The wiki will have to get downtime to do this correctly.

Common error
It comes when either --old or --new value is incorrect.
 * Invalid prefix!