I must have been in Binary mode when I downloaded the config.php

so it was corrupted hence the database error so I downloaded the .new file (in ASCII mode). Added all the dbase info and other stuff that was in the origanal one. Uploaded it making sure to be in ASCII mode. And that was the problem. I also made sure that it was admincp in there and that fixed this problem thank you very much
Shane