try downloading the mysqli library (perhaps by grabbing all of version 5)
and copying that into the extension folder for your 4.3.3 install of
PHP...add the below line to the ini file :
extension=php_mysqli.dll
bastien
From: "W Roothman" <[EMAIL PROTECTED]>
Reply-To: "W Roothman" <[EMAIL PR
That's a very common one. You're on windows, right?
Try putting in "consider upgrading MySQL client" into google. The first one
I found was this one:
http://www.experts-exchange.com/Web/Web_Languages/PHP/PHP_Windows/Q_21252231
.html
Although the guy first claims it's not the OLD_PASSWORD problem,
Hi
Check the database name is exactly the same case as you are using - not
Soverign rather soverign for example.
After that try the raw php functions for connecting to the database
This will give the Mysql error messages which should give you more
information
HTH, if not comeback to me
Pete
nt: Friday, February 22, 2002 11:03 AM
Subject: Re: [PHP-DB] mysql connect, while and close big problem
: non-persistent.
: I would also like to ask the difference between persistent and
: non-persistene connection?
:
: "Ray Hunter" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó
: [EMAIL PROTEC
non-persistent.
I would also like to ask the difference between persistent and
non-persistene connection?
"Ray Hunter" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> What type of connections are you making persistent or non-persistent?
>
> Ray Hunter
> Firmware Engi
What type of connections are you making persistent or non-persistent?
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Killer Angel Clark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 10:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] mysql connect
mysql_connect() function only takes 3 arguments (servername, username, pass)
.
Select your database by using mysql_select_db() function...
Try to rewrite the code as:
mysql_connect($db["host"],$db["user"],$db["password"]);
mysql_select_db($db["database"]);
Refer to:
http://www.php.net/manual/en/
on 2/4/02 12:54 PM, J Leonard at [EMAIL PROTECTED] appended the following
bits to my mbox:
> mysql_connect($db["host"],$db["user"],$db["password"],$db["database"]) or
The above function call only has three parameters. The database isn't
specified in the connect call but selected later. Try:
m
On Monday 04 February 2002 10:54 am, you wrote:
> Hi all,
>
> Ok I am learning this on my own but I could use some help.
> I have started these two pages test.php and config.php here is the code:
>
> test.php
>
> // include the database configuration
> include "config.php";
In looking at my "inc
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
This works for me:
Dim conn
set conn=server.createobject("adodb.connection")
conn.Open
("driver={mysql};server=192.168.0.1;uid=myUID;pwd=myPass;database=myDB")
Hope it helps!
--
Regards,
Gary "SuperID" Huntress
===
FreeSQL.org offering free
24 matches
Mail list logo