RE: [PHP-DB] MySQL Connect using Dreamweaver

2005-10-13 Thread Bastien Koert
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

RE: [PHP-DB] MySQL Connect using Dreamweaver

2005-10-12 Thread Matthias Willerich
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,

RE: [PHP-DB] mysql connect error

2003-08-14 Thread Peter Lovatt
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

Re: [PHP-DB] mysql connect, while and close big problem

2002-02-22 Thread William Fong
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

Re: [PHP-DB] mysql connect, while and close big problem

2002-02-22 Thread Killer Angel Clark
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

RE: [PHP-DB] mysql connect, while and close big problem

2002-02-21 Thread Hunter, Ray
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

RE: [PHP-DB] MySQL connect

2002-02-04 Thread Gurhan Ozen
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/

Re: [PHP-DB] MySQL connect

2002-02-04 Thread Paul Burney
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

Re: [PHP-DB] MySQL connect

2002-02-04 Thread Ken Thompson
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

RE: [PHP-DB] MySQL Connect Problem

2001-05-18 Thread Jeff Oien
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

Re: [PHP-DB] MySQL Connect Problem

2001-05-18 Thread Greg K
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

Re: [PHP-DB] MySQL Connect Problem

2001-05-18 Thread Shahmat Dahlan
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=""; &

RE: [PHP-DB] MySQL Connect Problem

2001-05-17 Thread Jeff Oien
"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

RE: [PHP-DB] MySQL Connect Problem

2001-05-17 Thread Rubanowicz, Lisa
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

RE: [PHP-DB] MySQL Connect Problem

2001-05-17 Thread Jeff Oien
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

Re: [PHP-DB] MySQL Connect Problem

2001-05-16 Thread Wayne Bastow
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

RE: [PHP-DB] MySQL Connect Problem

2001-05-16 Thread Jeff Oien
> > 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

Re: [PHP-DB] MySQL Connect Problem

2001-05-16 Thread boclair
> 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.

RE: [PHP-DB] MySQL Connect Problem

2001-05-16 Thread Jeff Oien
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. >

RE: [PHP-DB] MySQL Connect Problem

2001-05-16 Thread Jeff Oien
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

RE: [PHP-DB] MySQL Connect Problem

2001-05-16 Thread Jeff Oien
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 > &

RE: [PHP-DB] MySQL Connect Problem

2001-05-15 Thread Jeff Oien
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

Re: [PHP-DB] MySQL Connect Problem

2001-05-15 Thread Shahmat Dahlan
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

Re: [PHP-DB] MySql Connect question

2001-04-01 Thread Gary Huntress
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