Re: [PHP] Re: mysql_connect does not connect

2004-09-21 Thread Chris Dowell
Sam, You're correct - the manual does leave a little bit of a grey area about which extension you should use for 4.1.0 < MySQL version < 4.1.3 However, as you're using 5.0.1 this really shouldn't confuse you to quite the extent which it has. Sam Hobbs wrote: "Curt Zirzow" <[EMAIL PROTECTED]> wr

Re: [PHP] Re: mysql_connect does not connect

2004-09-18 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Unfortunately (fortunately?) there are packages out there which install > all > Apache/MySQL/PHP for you or whatever. So unless you state which package > you're using then "typical" is still meaningless. It's just helpfu

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Matthew Sims
> * Thus wrote Sam Hobbs: >> "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >> > >> > RTFM. >> > >> > mysql: >> > This MySQL extension doesn't support full functionality of MySQL >> > versions greater than 4.1.0. For that, use MySQLi. >> > >> > mysqli: >> > The mysq

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Curt Zirzow
* Thus wrote Sam Hobbs: > "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > RTFM. > > > > mysql: > > This MySQL extension doesn't support full functionality of MySQL > > versions greater than 4.1.0. For that, use MySQLi. > > > > mysqli: > > The mysqli extension

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Jason Wong
On Friday 17 September 2004 23:36, Sam Hobbs wrote: > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > There is only one Windows installer available rom the MySQL web site and it > has an option that explicitly says "Typical". Therefore in this context > "Typical" is e

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Jason Davidson
Yes yes, your always relevent, we are not... funny that you have the problem and we do not though. Jason "Sam Hobbs" <[EMAIL PROTECTED]> wrote: > > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > I'm not familiar with MySQL under Windows, but I believe that

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I'm not familiar with MySQL under Windows, but I believe that there are > different installers available from various sources. So saying "Typical" > installation option doesn't really mean much. There is only one Windows

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > RTFM. > > mysql: > This MySQL extension doesn't support full functionality of MySQL > versions greater than 4.1.0. For that, use MySQLi. > > mysqli: > The mysqli extension is designed to work with the version 4.1.3 or

Re: [PHP] Re: mysql_connect does not connect

2004-09-16 Thread John Nichel
Jason Davidson wrote: woah, full functionality.. it has will still connect, at least, it will still connect for me. Where the functionality is missing, im not sure. But sinse the error is cant connect to localhost, i would say that it strying to connect to localhost, and not being allowed. The

Re: [PHP] Re: mysql_connect does not connect

2004-09-16 Thread Jason Davidson
woah, full functionality.. it has will still connect, at least, it will still connect for me. Where the functionality is missing, im not sure. But sinse the error is cant connect to localhost, i would say that it strying to connect to localhost, and not being allowed. That said, im fully open

Re: [PHP] Re: mysql_connect does not connect

2004-09-16 Thread Curt Zirzow
* Thus wrote Sam Hobbs: > "Janbro" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hi I connect to a MySQL 4.1 with the following String: > > > > > > if > > ($db_verbin=mysqli_connect("$mysql_host","$mysql_user","$mysql_passw","$DB_n > > ame")) > > > > watch the i in mysqli_conne

Re: [PHP] Re: mysql_connect does not connect

2004-09-16 Thread raditha dissanayake
Jason Wong wrote: On Thursday 16 September 2004 11:51, raditha dissanayake wrote: me thinks it's time to look very closely at http://www.postgresql.org Not just you sam, all of us. If everyone subscribes to your reasoning then nobody would be using Windows (yay!). I am a recent convert

Re: [PHP] Re: mysql_connect does not connect

2004-09-16 Thread Jason Wong
On Thursday 16 September 2004 11:51, raditha dissanayake wrote: > me thinks it's time to look very closely at http://www.postgresql.org > Not just you sam, all of us. If everyone subscribes to your reasoning then nobody would be using Windows (yay!). Anyway FWIW I found postgresql's system of g

Re: [PHP] Re: mysql_connect does not connect

2004-09-16 Thread Jason Wong
On Thursday 16 September 2004 10:53, Sam Hobbs wrote: > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > So now are you fully convinced it's your firewall that's the root of your > > problem? > > No, not really. At the moment I am assuming it is a bug in something >

Re: [PHP] Re: mysql_connect does not connect

2004-09-15 Thread raditha dissanayake
me thinks it's time to look very closely at http://www.postgresql.org Not just you sam, all of us. -- Raditha Dissanayake. http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP apple

Re: [PHP] Re: mysql_connect does not connect

2004-09-15 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > So now are you fully convinced it's your firewall that's the root of your > problem? No, not really. At the moment I am assuming it is a bug in something somewhere. The versions of php and MySQL that I am using are not

Re: [PHP] Re: mysql_connect does not connect

2004-09-15 Thread Jason Davidson
firewall, who would have thought Jason Wong <[EMAIL PROTECTED]> wrote: > > On Thursday 16 September 2004 06:14, Sam Hobbs wrote: > > [quote from another Sam Hobbs post] > > I am the original poster. The reason I avoid doing things like that is > > because it is a guess. It should not be nec

Re: [PHP] Re: mysql_connect does not connect

2004-09-15 Thread Jason Wong
On Thursday 16 September 2004 06:14, Sam Hobbs wrote: [quote from another Sam Hobbs post] > I am the original poster. The reason I avoid doing things like that is > because it is a guess. It should not be necessary; the firewal should not > be relevant. Sometimes people suggest things that are not

Re: [PHP] Re: mysql_connect does not connect

2004-09-15 Thread Sam Hobbs
"Andrew Kreps" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tue, 14 Sep 2004 10:11:24 -0700, Sam Hobbs <[EMAIL PROTECTED]> wrote: >> Also, are the warning messages documented? As I asked in my original >> question, is 10061 an error code? > > 10061 is a generic winsock error fo

Re: [PHP] Re: mysql_connect does not connect

2004-09-14 Thread Sam Hobbs
"Andrew Kreps" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tue, 14 Sep 2004 10:11:24 -0700, Sam Hobbs <[EMAIL PROTECTED]> wrote: >> Also, are the warning messages documented? As I asked in my original >> question, is 10061 an error code? > > 10061 is a generic winsock error fo

Re: [PHP] Re: mysql_connect does not connect

2004-09-14 Thread Andrew Kreps
On Tue, 14 Sep 2004 10:11:24 -0700, Sam Hobbs <[EMAIL PROTECTED]> wrote: > Also, are the warning messages documented? As I asked in my original > question, is 10061 an error code? 10061 is a generic winsock error for a timeout, it's not PHP or MySQL specific. It means that the call couldn't conne

Re: [PHP] Re: mysql_connect does not connect

2004-09-14 Thread John Nichel
Sam Hobbs wrote: When I do try mysqli_connect, I get: Fatal error: Call to undefined function mysqli_connect() So obviously I need to do something to enable that. I will look into that later, but I am still trying to get mysql_connect to work. mysqli : http://us4.php.net/mysqli What error a