phpbar.de logo

Mailinglisten-Archive

[php] Mysql - Connect Error

[php] Mysql - Connect Error

Reinemuth, Jens php_(at)_phpcenter.de
Fri, 4 May 2001 14:22:38 +0200


>ich habe versucht:
>
>if(! $conn=3Dmysql_connect("server","user","pass") ) {
>	echo "fehler bla bla bla";
>	exit;
>}
>
>geht auch, nur php gibt trotzdem folgende meldung zur=FCck:=20
>Waring: MySQL Connection Failed: Can=B4t connect to ....
>

probiers mal mit=20

$conn =3D mysql_connect("server","user","password")
	or die "fehler blablabla";

jens

------------------------------------------------------------------------=
----
  		Jens Reinemuth
		 Adelungstr. 39
	          64283 Darmstadt
        	     Voice: 06151 - 10 10 45
	       Fax: 06151 - 13 66 15
            Mail: webmaster_(at)_openos.de
------------------------------------------------------------------------=
----
               Linux is like a wigwam!
             =20
  No windows - no gates - apache inside!
------------------------------------------------------------------------=
----





php::bar PHP Wiki   -   Listenarchive