read mysql manual and you have to download from mysql website myODBC and install it.
Then in download area is exelent tool for configuring mysql - mysql net admin.
but I have almost same problem, not the mysql and php but my problem is that myODBC don't want to connect mysql 🙁- but I'll keep trying🙂