Error to Reinstall DAHDi Config

HI,

I need help, trying to re-install the DAHDI Config module, but in the process it shows me the following error:

Please wait while module actions are performed

Creating Dahdi Advanced Settings Table
FATAL ERROR

CREATE TABLE IF NOT EXISTS dahdi_advanced ( keyword VARCHAR(50) NOT NULL PRIMARY KEY, val VARCHAR(255), default_val VARCHAR(255) ); [nativecode=1050 ** Table ‘asterisk.dahdi_advanced’ already exists]

Trace Back

/var/www/freepbx/admin/modules/dahdiconfig/install.php:50 die_freepbx()
[0]: CREATE TABLE IF NOT EXISTS dahdi_advanced ( keyword VARCHAR(50) NOT NULL PRIMARY KEY, val VARCHAR(255), default_val VARCHAR(255) ); [nativecode=1050 ** Table ‘asterisk.dahdi_advanced’ already exists]

/var/www/freepbx/admin/libraries/module.functions.php:1581 include_once()
[0]: /var/www/freepbx/admin/modules/dahdiconfig/install.php

/var/www/freepbx/admin/libraries/module.functions.php:1548 _modules_doinclude()
[0]: /var/www/freepbx/admin/modules/dahdiconfig/install.php
[1]: dahdiconfig

/var/www/freepbx/admin/libraries/module.functions.php:1157 _module_runscripts()
[0]: dahdiconfig
[1]: install
[2]:

/var/www/freepbx/admin/page.modules.php:397 module_install()
[0]: dahdiconfig

/var/www/freepbx/admin/config.php:306 include()
[0]: /var/www/freepbx/admin/page.modules.php

Check the database and the table that follows, but I can not find anything to make a hand deleted thereof.

Thank

amportal a m

Then run:

DROP TABLE dahdi_advanced;
exit;

Thx for Replay,

Try search and drop table dahdi_advanced, but not found in asterisk databases.

You have some serious corruption in your mysql server. I suggest reinstalling the server completely.