Board index   FAQ   Search  
Register  Login
Board index php forum :: Database MySQL Installation

struggle, despair!

Installation and configuration iussues

Moderators: macek, egami, gesf

struggle, despair!

Postby zhshqzyc » Sat Apr 08, 2006 4:31 pm

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 my.in 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.
zhshqzyc
New php-forum User
New php-forum User
 
Posts: 10
Joined: Mon Apr 03, 2006 10:18 am

Postby zhshqzyc » Mon Apr 10, 2006 12:31 pm

It never works for the test codes.

Code: Select all
<?php
echo mysql_connect('localhost','root','my_password');
?>


no any message displays on the screen.[/code]
zhshqzyc
New php-forum User
New php-forum User
 
Posts: 10
Joined: Mon Apr 03, 2006 10:18 am

Postby Alexej Kubarev » Wed Apr 12, 2006 11:05 am

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)
User avatar
Alexej Kubarev
Site Admin
Site Admin
 
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län


Return to MySQL Installation

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron