A riesgo de responder a la ligera me parece que no debes volver a definir KEY para la variable mid, con PRIMARY es suficiente:
Código PHP:
CREATE TABLE IF NOT EXISTS site_ww_settings(
mid int( 10 ) NOT NULL auto_increment,
title varchar( 255 ) NOT NULL default '',
active int( 1 ) NOT NULL default '0',
ancss int( 1 ) NOT NULL default '0',
animg int( 1 ) NOT NULL default '0',
anupl int( 1 ) NOT NULL default '0',
ansml int( 1 ) NOT NULL default '0',
aucss int( 1 ) NOT NULL default '0',
auimg int( 1 ) NOT NULL default '1',
auupl int( 1 ) NOT NULL default '0',
ausml int( 1 ) NOT NULL default '1',
adcss int( 1 ) NOT NULL default '1',
adimg int( 1 ) NOT NULL default '1',
adupl int( 1 ) NOT NULL default '1',
adsml int( 1 ) NOT NULL default '1',
PRIMARY KEY ( mid ) ,
KEY title( title )
)