t; > > one file db_details.php
> > > The reason I don't do it all in one is that it didn't like "." in IP
> > > addresses for some reason ( I think it thought it was the beginning of a
> > > string)
> > > On my windows machine my db_details would look lik
sses for some reason ( I think it thought it was the beginning of a
> > string)
> > On my windows machine my db_details would look like this
> > > $host="localhost";
> > $user="";
> > $password="";
> > $dbasename="database_nam
in one is that it didn't like "." in IP
> > addresses for some reason ( I think it thought it was the beginning of a
> > string)
> > On my windows machine my db_details would look like this
> > > $host="localhost";
> > $user="";
&
"localhost";
> $user="";
> $password="";
> $dbasename="database_name";
> ?>
> You shouldn't need a password.
> I hope this helps
> All the Best
> Lisa
>
> -Original Message-
> From: Jeff Oien [mailto:[EMAIL
Jeff Oien [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 2:16 PM
To: PHP-DB
Subject: RE: [PHP-DB] MySQL Connect Problem
I'm on Windows 2000.
Jeff
> Jeff,
>
> If you are on unix/linux use the command id to see who you are.
> You can only use jeff in your connect string i
I'm on Windows 2000.
Jeff
> Jeff,
>
> If you are on unix/linux use the command id to see who you are.
> You can only use jeff in your connect string if jeff is a user in your mysql
> database.
>
> If you are root when you are running mysql then you should probably set a
> password for root i
Jeff,
If you are on unix/linux use the command id to see who you are.
You can only use jeff in your connect string if jeff is a user in your mysql
database.
If you are root when you are running mysql then you should probably set a
password for root in the database.
Wayne
On Thu, 17 May 200
> > Here is sample code:
> > > $connection = @mysql_connect("localhost", "jeff", "*")
> > or die("Couldn't connect.");
> > if ($connection) {
> > $msg = "success!";
> > }
> > ?>
> >
> > This is on my machine only used by me. I also tried connecting to
> > IP address and 127.0.0.1 and it still
> Here is sample code:
> $connection = @mysql_connect("localhost", "jeff", "*")
> or die("Couldn't connect.");
> if ($connection) {
> $msg = "success!";
> }
> ?>
>
> This is on my machine only used by me. I also tried connecting to
> IP address and 127.0.0.1 and it still won't work. Thanks.
ing, but I've been able to connect to IP
> > > addresses and not localhost's before when dealing with Windows 2k and
> > mySQL.
> > > It's almost as if my install of mySQL had set up its own name of
> something
> > > else. Very weird, but its worth a shot.
>
been able to connect to IP
> > addresses and not localhost's before when dealing with Windows 2k and
> mySQL.
> > It's almost as if my install of mySQL had set up its own name of something
> > else. Very weird, but its worth a shot.
> >
> > -Original
something
> else. Very weird, but its worth a shot.
>
> -Original Message-
> From: Jeff Oien [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 8:24 PM
> To: PHP-DB
> Subject: RE: [PHP-DB] MySQL Connect Problem
>
>
> Yes they are.
> Jeff
>
&
Yes they are.
Jeff
> Is the MySQL and Apache running on the same machine?
>
> Jeff Oien wrote:
>
> > I have MySQL on a new Win2000 install and can't connect to it using PHP.
> > I am able to connect using the command line. I'm not sure what the next
> > step is to troubleshoot. I've checked the
Is the MySQL and Apache running on the same machine?
Jeff Oien wrote:
> I have MySQL on a new Win2000 install and can't connect to it using PHP.
> I am able to connect using the command line. I'm not sure what the next
> step is to troubleshoot. I've checked the username and password in the
> .i
14 matches
Mail list logo