Well, you need to update your grant tables to allow localhost access. That should fix your problem. Check out www.devshed.com for help on this. Go to the MySQL section. It's either in the administrator part, or the beginner part.
As for 4.0, I THINK it is available, you can check on their...