I was able to eliminate the problem, its because we had other tables inside the database that does not included or part of mdl_ that cause the problem
Installing and upgrading help
Unable to Access upgrade to moodle 1.5
This discussion has been locked so you can no longer reply to it.