Topic: I think my site got hacked...
Suddenly my site doesn't have a tax table or others...not sure
DATABASE ERROR : could not get all tax types
error code : 1146
error message : Table 'frontaccounting.0_tax_types' doesn't exist
sql that failed was : SELECT * FROM 0_tax_types
Sure enough the tax table was gone.
I tried to recreate the table
CREATE TABLE `0_tax_types` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`rate` double NOT NULL DEFAULT '0',
`sales_gl_code` varchar(15) NOT NULL DEFAULT '',
`purchasing_gl_code` varchar(15) NOT NULL DEFAULT '',
`name` varchar(60) NOT NULL DEFAULT '',
`inactive` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
)
get the following error code
Error Code: 1005
Can't create table 'frontaccounting.0_tax_types' (errno: -1)
WHY?
Any ideas how to recreate the tax table? or create tables for frontaccounting?