• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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