php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #98 Wrong parameter count for msql_connect()
Submitted: 1998-02-23 00:51 UTC Modified: 1998-02-23 08:24 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: Espen dot Lyngaas at team17 dot com Assigned: zeev (profile)
Status: Closed Package: mSQL related
PHP Version: 3.0b4 OS: Linux RH5.0 2.0.32 i686
Private report: No CVE-ID: None
 [1998-02-23 00:51 UTC] Espen dot Lyngaas at team17 dot com
PHP reports "Warning: Wrong parameter count for msql_connect()"

Manual says "int msql_connect(string hostname, string username, string password);"

My script looks something like:
<?
  $host = "gimp.team17.com";
  $user = "user";
  $passwd = "passwd";
  $connect_status = msql_connect($host,$user,$passwd);
  echo "mSQL connect status: $connect_status\n";
?>

Compiled modules are mSQL2.0.3 and gd1.2

Is the above not the correct syntax?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-23 08:24 UTC] zeev
This description doesn't fit mSQL but MySQL.  Fixed the help files.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Dec 08 13:03:41 2021 UTC