Hi Folks,
I want to do something like the following:
$db = mysql_connect(localhost, myuser) or die(Connect failed : .
mysql_error());
mysql_select_db(mydb,$db) or die(SELECT_DB failed : . mysql_error
());
$result = mysql_query(SELECT * FROM mytable, $db) or die(Query
failed : .
24.09.2004 um 13:43 Uhr +0100 schrieb Peter Lovatt:
Hi
try $db = mysql_connect(localhost, myuser,mypassword) - without it you are
not submitting a password
Peter
-Original Message-
From: Christian Schlaefcke [mailto:[EMAIL PROTECTED]
Sent: 24 September 2004 13:31
To: [EMAIL
denied for user @localhost
I'll google for a while... but.. to solve YOUR problem, just use:
mysql_connect(localhost,user,);
Good luck!
On Fri, 24 Sep 2004 14:56:35 +0200, Christian Schlaefcke
[EMAIL PROTECTED] wrote:
I have chosen an empty password. I know that this is a security
Hi Folks,
I have a problem getting a php script running. It seems that the script
just dies when calling the function mysql_connect(host, username,
passwd). I put two debugging echoes (one in front and one afterwards)
in the script but only the first one appears.
There are no errormessages. How
a look for the Error
Reporting settings. It may be set to none, to to log the errors to
syslogd or a file.
Mark
On Mon, 13 Sep 2004 12:48:33 +0200, Christian Schlaefcke
[EMAIL PROTECTED] wrote:
Hi Folks,
I have a problem getting a php script running. It seems that the script
just dies
Am Mo, den 13.09.2004 um 9:27 Uhr -0400 schrieb John Holmes:
From: Christian Schlaefcke [EMAIL PROTECTED]
This is what I have in my php.ini
error_reporting = E_ALL
display_errors = On
Have you looked at a phpinfo() page to ensure you're editing the correct
php.ini?
?php
schrieb Mulo Emmanuel:
Look at the phpinfo() page and see whether you find a section with
information on MySQL. If it isnt there, it is likely to do with the way
you compiled AMP.
Christian Schlaefcke wrote:
Am Mo, den 13.09.2004 um 9:27 Uhr -0400 schrieb John Holmes:
From