You are here: Re: mysql / php5 configuration « PHP Programming Language « IT news, forums, messages
Re: mysql / php5 configuration

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация