Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: The database prefix option has been disabled.  (Read 1925 times)

0 Members and 1 Guest are viewing this topic.

Haripriya H

  • Guest
The database prefix option has been disabled.
« on: December 29, 2013, 12:20:18 pm »
If you have disabled the option :"The database prefix option has been disabled". It cannot be enabled through the WHM and should not be re-enabled if any databases or database users have been created with database prefixing disabled." from WHM and want's to re-enabled it but does not find any option as to how to re-enable that option don't panic.

Follow the below steps to re-enable that option :

1> Login to Server via SSH as a root user

2> open this file : /var/cpanel/cpanel.config in you favorite editor

   
  • vi /var/cpanel/cpanel.config


    and then search for the line : database_prefix=0

    and replace it with database_prefix=1

    save and quit.

    restart the cpanel service

   
  • /etc/init.d/cpanel restart


That’s all you are done.