Re: [PHP-DB] problem Connecting

2004-03-07 Thread Jochem Maas
Will wrote: Hello all, When I try to connect I get this message: #1045 - Access denied for user: [EMAIL PROTECTED]' (Using password: YES). Can anyone help me? Do I need to do anything in the php.ini file or anywhere else. sounds like you need to set a password in the phpMyAdmin config file

Re: [PHP-DB] problem Connecting

2004-03-07 Thread Will
That was already done!!! I knew that. It is still doing it. MySQL in installed in a window XP machine. What else is there?? ~WILL~ Jochem Maas wrote: Will wrote: Hello all, When I try to connect I get this message: #1045 - Access denied for user: [EMAIL PROTECTED]' (Using password: YES).

Re: [PHP-DB] problem Connecting

2004-03-07 Thread Will
I might add that I can access the database through C: prompt. ~WILL~ Will wrote: That was already done!!! I knew that. It is still doing it. MySQL in installed in a window XP machine. What else is there?? ~WILL~ Jochem Maas wrote: Will wrote: Hello all, When I try to connect I get this

Re: [PHP-DB] problem Connecting

2004-03-07 Thread Will
When I bring up \mysql\bin\mysqladmin status proc is says that the user is ODBC, is that right?? Should I have another user in there?? Please help!! :) ~WILL~ Will wrote: I might add that I can access the database through C: prompt. ~WILL~ Will wrote: That was already done!!! I knew

Re: [PHP-DB] problem Connecting

2004-03-07 Thread Will
I GOT IT YEAH! Thanks everyone. ~WILL~ Will wrote: When I bring up \mysql\bin\mysqladmin status proc is says that the user is ODBC, is that right?? Should I have another user in there?? Please help!! :) ~WILL~ Will wrote: I might add that I can access the database through C:

RE: [PHP-DB] problem connecting w/ODBC

2003-03-21 Thread Beverly Steiner
Problem fixed! Thank you to David who pointed out that I had my variables switched in the in the odbc_exec and odbc_cursor lines. For ODBC, the connection variable comes first (the opposite of MySQL). Bev -- Beverly Steiner [EMAIL PROTECTED] -Original Message-

Re: [PHP-DB] Problem connecting to db on Linux

2002-02-18 Thread David Sullivan
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

Re: [PHP-DB] Problem connecting to db on Linux

2002-02-18 Thread Greg Donald
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 not

Re: [PHP-DB] Problem connecting to db on Linux

2002-02-18 Thread George Pitcher
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

RE: [PHP-DB] Problem connecting to db on Linux

2002-02-18 Thread Rick Emery
: Re: [PHP-DB] Problem connecting to db on Linux Greg, et al, This is the contents of the include file: ?php $link = mysql_connect ('localhost', 'root', '*') or die (Could not select db); mysql_select_db ('Heronsql') or die (Could not connect); ? I have also tried it with the following

Re: [PHP-DB] Problem connecting to db on Linux

2002-02-18 Thread George Pitcher
and stalled on the select db part? George - Original Message - From: Rick Emery [EMAIL PROTECTED] To: 'George Pitcher' [EMAIL PROTECTED]; Greg Donald [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, February 18, 2002 2:31 PM Subject: RE: [PHP-DB] Problem connecting to db on Linux Have you

RE: [PHP-DB] Problem connecting to db on Linux

2002-02-18 Thread Rick Emery
, 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 got (not displayed on screen

Re: [PHP-DB] Problem connecting to db on Linux

2002-02-18 Thread George Pitcher
PROTECTED]] Sent: 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

RE: [PHP-DB] Problem connecting to db on Linux

2002-02-18 Thread Rick Emery
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

Re: [PHP-DB] Problem connecting to db on Linux

2002-02-18 Thread George Pitcher
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_error() ? -Original Message- From: George Pitcher [mailto:[EMAIL

RE: [PHP-DB] Problem connecting to db on Linux

2002-02-18 Thread Rick Emery
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 argument is not a valid MySQL result