You are here: Re: [PHP] PHP 5, mySQL and Win XP. I NEED HELP « PHP « IT news, forums, messages
Re: [PHP] PHP 5, mySQL and Win XP. I NEED HELP

Posted by Deep on 10/07/06 11:15

Hi,

If you are using localhost, i dont think u need to
specify the port number. Localhost would be enough.
Also pls check the user privileges and all in the
database.

...Deep..

--- Oscar Andersson <oscarandersson2@hotmail.com>
wrote:

> I have made a instal of the latest mySQL and PHP 5
> on my computer.
> I have made the following changes to my php.ini file
>
> extension=php_mysql.dll
> extension_dir = "c:\php\"
>
> and i have put the php_mysql. and libmysql.dll in
> c:\php\ and in c:\windows
> to
>
> Now i try this in my php-file
> $con = mysql_connect("localhost:3306", "buddy",
> "bestbuddy");
>
> I cant connect to mySQL. I dont know what is wrong.
> mySQL listen to port
> 3306. I have tried with my IP to. I get this warning
> Warning: mysql_connect() [function.mysql-connect]:
> Too many open links (0)
> in myfilename.php.
>
>
> I hope for help
> Oscar Andersson
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony

 

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

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