SoftDux Hosting
Please Login or Register

Knowledgebase

How do I reset my WHMCS's database after testing, and making it ready for production use?

After you have done your tests on your new WHMCS installation, you may want to remove all dummy clients, invoices, products, etc

You can TRUNCATE the following database tables:

TRUNCATE `tblaccounts` ;
TRUNCATE `tblactivitylog` ;
TRUNCATE `tbladminlog` ;
TRUNCATE `tblaffiliates` ;
TRUNCATE `tblaffiliatesaccounts` ;
TRUNCATE `tblaffiliateshistory` ;
TRUNCATE `tblaffiliatespending` ;
TRUNCATE `tblbrowserlinks` ;
TRUNCATE `tblcancelrequests` ;
TRUNCATE `tblclients` ;
TRUNCATE `tblcontacts` ;
TRUNCATE `tblcredit` ;
TRUNCATE `tblcustomfieldsvalues` ;
TRUNCATE `tbldomains` ;
TRUNCATE `tbldomainsadditionalfields` ;
TRUNCATE `tblemails` ;
TRUNCATE `tblgatewaylog` ;
TRUNCATE `tblhosting` ;
TRUNCATE `tblhostingaddons` ;
TRUNCATE `tblhostingconfigoptions` ;
TRUNCATE `tblinvoiceitems` ;
TRUNCATE `tblinvoices` ;
TRUNCATE `tblnotes` ;
TRUNCATE `tblorders` ;
TRUNCATE `tblticketlog` ;
TRUNCATE `tblticketnotes` ;
TRUNCATE `tblticketreplies` ;
TRUNCATE `tbltickets` ;
TRUNCATE `tblupgrades` ;
TRUNCATE `tblwhoislog` ;

Use phpMyAdmin in your cPanel to TRUNCATE these tables.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
How to upgrade WHMCS (Views: 1004)

Quick Navigation

Client Login

Email

Password

Remember Me

Search



Follow Us on Twitter