phpbar.de logo

Mailinglisten-Archive

Re: mysql rechte und php-cgi
Archiv Mailingliste mysql-de

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mysql rechte und php-cgi



Martin Ramsch wrote:
> > (gibt es ein Listenarchiv welches man durchsuchen kann?):
> 
> Ich kenne leider auch keines.

http://207.98.221.253/Lists/  ist ein Archiv von vielen Listen mit
der Möglichkeit, quer über alle Listen zu suchen.


Hier habe ich die Lösung für mein Problem gefunden:

List:     php-dev
Subject:  [PHP-DEV] Bug No. 1200 Solution: MySQL Connection Failed:
Can't create IP socket (10036)
From:     Norbert Bietsch <nb_(at)_forum-verlag.com>
Date:     1999-03-08 8:29:47
[Download message RAW]

The solution to this Windows related problem is:

PHP3 expects the lastest Winsock driver versions to be installed,
 if any socket related function should be performed (i.e.
 mysql_connect, gethostbyaddress etc.)

With most versions of Windows 95 it is necessary to update to the
 Microsoft "Winsock 2" service pack. With Windows NT 4.0
 installation of service pack 3 is mandatory. There are no
 problems when using Windows 98 (except for performance).

Norbert


--------------- Problem ---------------

The script
        <?php mysql_connect("localhost", "user", "password"); ?>
causes the following error:
        MySQL Connection Failed: Can't create IP socket (10036)

In Win32 PHP the mySQL-extensions are enabled (php.ini).
MySQL database generally allows login and connection via
localhost for "user" & "password", this is verified using
mySQL-client and Perl with mysql modules.

Is the Connection Failure I experience a general problem with
PHP3 access on mySQL (all Win32 based)?
or: Can this problem be solved by some entries in php3.ini?
or: Is there a way to find out, why creation of IP socket
 failed?

Thank you.

Norbert


--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to
php-dev-unsubscribe_(at)_lists.php.net
For help: php-dev-help_(at)_lists.php.net 


-------

Also sollte es mit 

With most versions of Windows 95 it is necessary to update to the
 Microsoft "Winsock 2" service pack.

gehen. Wo kriege ich das? Hat das jemand?



-- 
Mit freundlichem Gruss
Werner Stuerenburg

____________________________________________________________
ISIS Verlag - Uhlandstr. 8 - D-32120 Hiddenhausen -  Germany
Tel. 0(049)5224-9974-07, Fax-09, <mailto:ws_(at)_art-quarter.com>
 <http://pferdezeitung.com>    -   <http://art-quarter.com>

---
*** Abmelden von dieser Mailingliste funktioniert per E-Mail
*** an mysql-de-request_(at)_lists.4t2.com mit Betreff/Subject: unsubscribe


Home | Main Index | Thread Index

php::bar PHP Wiki   -   Listenarchive