struggle, despair!



Apache 2 + php 5.1.2 + mysql 5.0.19 + windows xp home

Let's forget php first, only consider mysql.
After my several efforts, the system always gave me a sweet hug.
"can't connect to mysql server localhost(10061)"
I had to delete all and reinstalled it even I copied into c:\windows.
Finally, I try again, and type C:\>"C:\MySQL\bin\mysqld\"--console.
then hug me again.

InnoDB: Operating system error number 32 in a file operation.

It means
The process cannot access the file because it is being used by another process. ...

One more question is I can't find file my.cnf in any folder after installation.
It never works for the test codes.

echo mysql_connect('localhost','root','my_password');

no any message displays on the screen.[/code]
try mysql_error(9 to output the error.
did you try instance configuration wizard?
you should try installing mysql qith the windows installer, its much easier and works like a charm.. (not php-isntaller thou)