Re: Not bale to connect to MySQL with PHP [message #169654 is a reply to message #169651] |
Tue, 21 September 2010 19:48 |
Denis McMahon
Messages: 634 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 21/09/10 17:40, MikeB wrote:
> Denis McMahon wrote:
>> You could also add the following after 'echo "<p>got require</p>";'
>>
>> echo "<p>db info: user = '$db_username', host = '$db_hostname', pw =
>> '$db_password'</p>";
>
> Did this also. I get the values in the login.php file. But again, only
> if I comment out the mysql_connect statement. If I don't, it just hangs
> the entire browser window indefinitely. I just copied the "success" echo
> block of the code to before the mysqlL-connect statement.
>
> I'm just plumb out of ideas.
>
> I'm gonna try install a different WAMP package on another computer and
> see if I get any further. :(
Yeah, I think at this point so am I, especially as my experience is a
lamp environment and your windows one seems to be handling itself
slightly differently to what I'd expect.
Rgds
Denis McMahon
|
|
|