|
Posted by Jerry Stuckle on 10/18/07 03:37
jcoder wrote:
> im using win xp and installed apache 2.x and php5...both working fine.
> when i test:
>
> <?php
> phpinfo();
> ?>
>
> it works fine. trouble starts when i started installing mysql 4.x
> server on the same machine. mysql run successfully but the issue is i
> cant integrate it with php. i already copied -- php_mysql.dll on my
> \php\ext and libmysql.dll on \php as well as on \windows\system32.
>
> also i made necessary changes on php.ini, but when i run :
>
> <?php
> mysql_connect("localhost","root","123") or die("cannot connect");
> ?>
>
> it's not working. what could have gone wrong?
>
>
What do you get for an error?
If it's just "cannot connect", print a REAL informative message - such
as that returned by mysql_error();
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|