|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-08-20 04:24 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 20:00:02 2026 UTC |
When trying to connect to a db with php4, the result is 'Resource id #1' (and #2 etc. on subsequent calls) instead of an integer. The call was: echo mysql_connect("localhost",$wwwuser,$wwwpass) Changing any fields dos not help at all (I think I tried every possible variant during the last 12 hours). mysql_pconnect produces the same error, btw. *The problem is eliminated by switching back to php3!* I installed the latest mysql from source and from rpm, it did not help. However, I saw similar problems when searching dejanews.com, but related to other mysql calls. Obviously, other people are at least able to connect to a database before the problem arises.