ause you appear to have an extra " in fron of ORDER BY
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 9:53 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Problem connecting to db on Linux
Rick,
Sorry, here it is:
Warning: Supplied argum
Emery" <[EMAIL PROTECTED]>
To: "'George Pitcher'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, February 18, 2002 3:46 PM
Subject: RE: [PHP-DB] Problem connecting to db on Linux
> what is the error message you get?
> do you print otu mysql
what is the error message you get?
do you print otu mysql_error() ?
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 9:42 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Problem connecting to db on Linux
Greg, et al,
Now the re
ot; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, February 18, 2002 3:19 PM
Subject: RE: [PHP-DB] Problem connecting to db on Linux
> Do you have your error messages crossed? I ask, because I would think
your
> "cannot select" message would go with your mysql_
nt: Monday, February 18, 2002 8:48 AM
To: Rick Emery; Greg Donald; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Problem connecting to db on Linux
Rick,
I snipped the code from my windoze system. I did have to change the case of
the dbname to reflect the Linux version (all lc).
The error message I g
ge Pitcher [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 18, 2002 8:21 AM
> To: Greg Donald; [EMAIL PROTECTED]
> Subject: Re: [PHP-DB] Problem connecting to db on Linux
>
>
> Greg, et al,
>
> This is the contents of the include file:
>
>
> $link =
: Re: [PHP-DB] Problem connecting to db on Linux
Greg, et al,
This is the contents of the include file:
I have also tried it with the following:
";
mysql_select_db ('Heronsql');
echo mysql_errno().": ".mysql_error()."";
?>
Te results for this were:
0
4.0.6/Apache) and I am about to
retest so I'll report back soon.
George
- Original Message -
From: "Greg Donald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 18, 2002 2:08 PM
Subject: Re: [PHP-DB] Problem connecting to db on Linux
>
> I've been working with PHP/MySQL on Win NT and Win 2000 for a few weeks.
> I've now set up a Linux machine (Mandrake 8.1 on Dell laptop) and have
moved
> my files across.
>
> I use an include file which logs on to the MySQL server and then connects
to
> the database. It performs the login ok but
Hey,
I didn't have to do any special configuring. All I did was setup the root
password, login via the mysql console client and create my databases, then
use mysql_connect() and mysql_select_db() like you said. What have you done
other than just installing it?
--
- Dave
On February 18, 2002
10 matches
Mail list logo