Database Restore, case sensitive table name
GheorgheP opened this issue · 1 comments
GheorgheP commented
If the $table_prefix
variable in wp-config.php
uses both upper and lower cases you may en with such error during database restore step:
Failed to create the _fwbk_myprefix_posts table. Table myprefix_posts already exists.
It is because that the str_replace functions is case sensitive, but the tmp
table is created with lowercase prefix, but in $sql
the prefix may be with uppercase.