• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question How to fix Wordpress toolkit database table prefix

SylvioB

New Pleskian
Hello
Using latest version of Onyx I still have the problem that if I specify a custom table prefix while installing a wordpress instance it add wp_ at the end.
I have readed Resolved - database prefix weirdness
and also Prefix specified for tables is not used for creating tables in wordpress database
But just don't know about "There should not be any technical problems to remove adding 'wp_' from Wordpress configuration script." which configuration script file I have to modify to find this value.
Could you give me this missing information ?
Will it be fixed in a future MU ?

Regards
 
I installed the app with a "custom" install from the panel and there I defined a prefix in the relative field. Then I checked the DB tables and see that they are prefixed with PREFIXwp_.
I except the custom install field of the panel to the same then the --prefix parameter of the command line, isn't it ?

I guess the happening wp_ comes from this line : $db_modify_hash['@@DB_MAIN_PREFIX@@'].='wp_'; but I don't know which file has this line and if there is a permanent way to override this option.
 
I checked with the CLI aps install. It's the same the script append wp_ to the prefix that we define.
 
Back
Top