Re: [PHP-WIN] Cannot connect to MySQL with PHP 4.1.1

2002-03-15 Thread Arijit Chaudhuri
Hi, I recently installed php from php.net on Win 2000 with IIS 5 with mysql. Its running without a hitch. I had to install MyODBC also from the mysql site. Regards, Arijit "Nicole Amashta" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Are you sure you are

Re: [PHP-WIN] Cannot connect to MySQL with PHP 4.1.1

2002-03-01 Thread Nicole Amashta
Are you sure you are using a complete new install of PHP? Remove all old php files ( dlls, ini, etc) and install completely fresh to make sure you are using all the versions that go with the version of PHP you are wanting to use (eg. 4.1.1). Nix www.aeontrek.com "Egil Helland" <[EMAIL PROTECTED

Re: [PHP-WIN] Cannot connect to MySQL with PHP 4.1.1

2002-03-01 Thread Egil Helland
Just another little note here: I have tried every version from 4.0.4 pl1 and upwards. The only version I get to work i 4.0.4 pl1. This also includes the latest development version (4.3.0-dev) available. Whatever happened after the 4.0.4 release? I can switch back to this release, and everything

Re: [PHP-WIN] Cannot connect to MySQL with PHP 4.1.1

2002-03-01 Thread Egil Helland
I actully use the $link = part, I just did not include it below. The MySQL daemon is there allright, I am hooked up to it now in fact, but php is not able to do the same! This is no problem with IIS, this is pure php + mysql, that I am pretty sure of. I have seen loads of others with similar prob

Re: [PHP-WIN] Cannot connect to MySQL with PHP 4.1.1

2002-03-01 Thread Pac mon
Well i'd suggest triple checking that mysqld is running. Uh.. try putting: $link = mysql_connect() or die(); Just small things, but maybe it'll work.. other than that... No.. i've never had a problem with mysql, but then again i'm running apache..not IIS. Original Message Follows---

RE: [PHP-WIN] Cannot connect to MySQL with PHP 4.1.1

2002-03-01 Thread Matt Hillebrand
I had a similar problem. One day, all of a sudden, I couldn't use my mysql functions unless I omitted the db link identifier. Function calls like: mysql_query($sql, $conn) will not work for me unless I omit $conn, letting the functions assume the last connection made to the db: mysql_query($sql