A few months ago I had problems with MySQL, I found a corrupt InnoDB database and the service MySQL was down, I fixed it, but in the process the root user lost your privileges. When the SME server starts the initial MySQL scripts don´t work indicating the error "access denied for root".
The sad thing that so far the server is running smoothly, I can create users, ibays, manage, fetchmail, sarg, etc.
I need install FreePBX, but this problem prevents me from install.
I have a lot of information on the server and do a clean install would take me a long time I wanted to avoid. I've followed the tutorials to reset passwords, etc. is not a problem of "password", because can enter the MySQL console, is a problem of privilege.
Someone can help this disgraced engineer?

Thanks in advance.
Daniel Loayza