Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
The firewall is relevant depending on your circumstances. In any case it
would
take you all of one minute to disable your firewall to test out this wild
far out suggestion. At the most you would have lost one minute but
Markus Mayer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
It is our experience at my employer that the firewall in XP-SP2, as well
as
other firewalls that are available, are very relevant.
Thank you. I have not seen anything that states that explicitly. I doubt
that SP2 makes
It is innacuracies such as this that make it difficult for me to pursue the
useful suggestions.
Chris Dowell [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
All this is irrelevant; while you're still trying to use MySQL 5 with
mysql_connect() instead of mysqli_connect(), it WILL
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
IIRC the OP did have a successful test case when connecting from the mysql
client.
Yes, I did get it to work.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
The MySQL functions work fine in php5. It just doesn't support all the
features available in MySQL = 4.1.0. Unlike php4, support for MySQL
isn't bundled in php5, but when enabled, it works.
Thank you. I will try to
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
IIRC the OP did have a successful test case when connecting from the mysql
client.
For whomever is interested, see my mess(ages) in the php internals.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Sam Hobbs [EMAIL PROTECTED] wrote in message
One problem is that I get answers that are not accurate, so it is
difficult to know which ones are accurate.
You are correct about that. Personally, I not satisfied with the level of
support I get from the people paid to monitor this list and help me
The last paragraph refers to me :) and im quite proud of it now, ive
printed some of your emails out, and i keep them around, they really do
make me smile, not becuase im so much an a$$hole, but becuase, youve
already said, that altering your firewall allowed you to connect.
Which not so
Cheers on that, this thread has become amusement, that is payment enough
Jason
John Holmes [EMAIL PROTECTED] wrote:
Sam Hobbs [EMAIL PROTECTED] wrote in message
One problem is that I get answers that are not accurate, so it is
difficult to know which ones are accurate.
You are
John Holmes wrote:
Sam Hobbs [EMAIL PROTECTED] wrote in message
One problem is that I get answers that are not accurate, so it is
difficult to know which ones are accurate.
You are correct about that. Personally, I not satisfied with the level of
support I get from the people paid to monitor this
John Holmes wrote:
Sam Hobbs [EMAIL PROTECTED] wrote in message
One problem is that I get answers that are not accurate, so it is
difficult to know which ones are accurate.
You are correct about that. Personally, I not satisfied with the level of
support I get from the people paid to monitor this
snip lots of garbage
OK, I'm going to jump in and try and take a stab at this.
Sam, if you wouldn't mind answering a question: are you still unable
to connect to your mysql server?
I'll also add that your understanding of firwalls is lacking.
Regardless of where your server is (local or
Markus Mayer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
It is our experience at my employer that the firewall in XP-SP2, as well
as
other firewalls that are available, are very relevant.
Thank you. I have not seen anything that states that explicitly. I doubt
that SP2 makes
Im not a john, but to add to confusion we could all sign with 'J'
Jason
John Nichel [EMAIL PROTECTED] wrote:
John Holmes wrote:
Sam Hobbs [EMAIL PROTECTED] wrote in message
One problem is that I get answers that are not accurate, so it is
difficult to know which ones are accurate.
John Holmes wrote:
Sam Hobbs [EMAIL PROTECTED] wrote in message
One problem is that I get answers that are not accurate, so it is
difficult to know which ones are accurate.
You are correct about that. Personally, I not satisfied with the level of
support I get from the people paid to
[snip]
Im not a john, but to add to confusion we could all sign with 'J'
[/snip]
I'm down with that
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Steve Brown wrote:
snip lots of garbage
OK, I'm going to jump in and try and take a stab at this.
Sam, if you wouldn't mind answering a question: are you still unable
to connect to your mysql server?
I'll also add that your understanding of firwalls is lacking.
Regardless of where your server
Jay Blanchard wrote:
[snip]
Im not a john, but to add to confusion we could all sign with 'J'
[/snip]
I'm down with that
Jay
Don't you worry, YOU'RE already on 'THE LIST'. ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
Hey, the reason it doesnt come in to play for you in linux, is becuase
mysql by default will connect through a unix socket, and not over
tcpip. The unix socket is a connection thru the filesystem and not the
network. Also, in linux, there is a virtual device for lopback, and the
firewall i dont
Jason Davidson wrote:
Hey, the reason it doesnt come in to play for you in linux, is becuase
mysql by default will connect through a unix socket, and not over
tcpip. The unix socket is a connection thru the filesystem and not the
network. Also, in linux, there is a virtual device for lopback,
On Friday 17 September 2004 23:23, Sam Hobbs wrote:
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
IIRC the OP did have a successful test case when connecting from the
mysql client.
Yes, I did get it to work.
It would help in diagnosing your problem if you told us
Windows likely has some sort of loopback device, but i dunno how it
works
Ive also come accross people complaining that SP2 has funked up local
connections for various server/clients. However, ive seen firewalls
cuase problems for mysql on both windows and linux, so ya.. who
knows... Sam knows..
Another test you might do , is use something like tcpdump to snif your
network to see exactly how its attempting to connect, then you could
ascertain on your own (as you dont beleive me) if mysql is connecting
over the network or through the filesystem.
Jason
Jason Wong [EMAIL PROTECTED] wrote:
On Friday 17 September 2004 23:21, Sam Hobbs wrote:
Again, it is okay to say this once but it is not useful to keep insisting.
I am smart enough to be aware of the possibility and if and when other
possibilities have been exahausted I would have tried the possibility of
disabling the firewall
On Saturday 18 September 2004 02:30, Jason Davidson wrote:
Hey, the reason it doesnt come in to play for you in linux, is becuase
mysql by default will connect through a unix socket, and not over
tcpip. The unix socket is a connection thru the filesystem and not the
network. Also, in linux,
hehehe.. im actually looking forward to reading responses on this
thread..
funny stuff.
Jason
Jason Wong [EMAIL PROTECTED] wrote:
On Friday 17 September 2004 23:21, Sam Hobbs wrote:
Again, it is okay to say this once but it is not useful to keep insisting.
I am smart enough to be
On Friday 17 September 2004 22:56, Sam Hobbs wrote:
It definitely takes more than a minute. It takes nearly a minute just to
logoff one user and I often have another user, the Administrator account,
also logged in. If the Administrator account is not lgged in already, then
I must log in to it
From: Jason Davidson [EMAIL PROTECTED]
hehehe.. im actually looking forward to reading responses on this
thread..
Whatever happened to those monthly stat posts? most posts, most posts per
thread, etc...?? Who was doing that? I haven't seen one in a while.
---John Holmes...
--
PHP General
Im not sure who was doing that. i missed that stuff i think.
Jason
John Holmes [EMAIL PROTECTED] wrote:
From: Jason Davidson [EMAIL PROTECTED]
hehehe.. im actually looking forward to reading responses on this
thread..
Whatever happened to those monthly stat posts? most posts, most
Amazing how long that thread is -- must be a record. Seems to be classic case
of 'ignore-the-obvious' or 'my-mind-is-made-up. Don't-confuse-me-with-facts'.
Perhaps I should start a new thread:
[PHP} Can't get NULL to output anything!
hehe
Andre
On Friday 17 September 2004 03:11 pm, Jason
John Holmes wrote:
From: Jason Davidson [EMAIL PROTECTED]
hehehe.. im actually looking forward to reading responses on this
thread..
Whatever happened to those monthly stat posts? most posts, most posts
per thread, etc...?? Who was doing that? I haven't seen one in a while.
---John Holmes...
I
* Thus wrote Sam Hobbs:
And the relevant portion of that says external access, which is not
applicable here. I do not see anything else on that page that is relevant.
what is relevant? only the last one? :sigh:
Curt
--
The above comments may offend you. flame at will.
--
PHP General
John Holmes wrote:
From: Jason Davidson [EMAIL PROTECTED]
hehehe.. im actually looking forward to reading responses on this
thread..
Whatever happened to those monthly stat posts? most posts, most posts
per thread, etc...?? Who was doing that? I haven't seen one in a while.
---John Holmes...
* Thus wrote Sam Hobbs:
I appreciate your attempts to help, but you must understand that when
attempts to help just cause time to be wasted, then it might be appropriate
:sigh:
Curt
--
The above comments may offend you. flame at will.
--
PHP General Mailing List (http://www.php.net/)
To
-- Original message from John Holmes : --
Whatever happened to those monthly stat posts? most posts, most posts per
thread, etc...?? Who was doing that? I haven't seen one in a while.
---John Holmes...
Bill Doerrfeld
HAHAHA, this thread is awsome though, you all must admit the humor
involved here. I hope this thread continues for a couple more days.
or here is an idea for a thread
{PHP} globals.asp wont set my php vars
[EMAIL PROTECTED] wrote:
Amazing how long that thread is -- must be a record. Seems
* Thus wrote Sam Hobbs:
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
The firewall is relevant depending on your circumstances. In any case it
would
take you all of one minute to disable your firewall to test out this wild
far out suggestion. At the most you
[PHP} Can't get NULL to output anything!
hehe
Andre
Check your firewall.
--
--Matthew Sims
--http://killermookie.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This whole thread has degraded to the point of:
YHBT. YHL. HAND.
and I'm not helping it.
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Friday, September 17, 2004 2:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] mysql_connect does not connect
* Thus
hahahaha, what can i do in 30 minutes... hmm.. install almost any linux
distro, most windows distros.. i could disbaled and enable my firewall
about 180 times i could read just one of the long winded emails how
i obsfuscate the thread with irrelevant solutions and wild suggestions
of
.
-Original Message-
From: Jennifer Goodie [mailto:[EMAIL PROTECTED]
Sent: Friday, September 17, 2004 2:10 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] mysql_connect does not connect
-- Original message from John Holmes : --
Whatever happened to those monthly stat posts
HAHAHA, this thread is awsome though, you all must admit the humor
involved here. I hope this thread continues for a couple more days.
or here is an idea for a thread
{PHP} globals.asp wont set my php vars
Firewall.
--
--Matthew Sims
--http://killermookie.org
--
PHP General Mailing List
that takes the cake. :D :D
J
Matthew Sims [EMAIL PROTECTED] wrote:
[PHP} Can't get NULL to output anything!
hehe
Andre
Check your firewall.
--
--Matthew Sims
--http://killermookie.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Fri, 17 Sep 2004 13:34:18 -0700 (PDT), Matthew Sims
[EMAIL PROTECTED] wrote:
Check your firewall.
I would but I don't have 30 minutes to spare. Too busy walking my
lizard.. or something.
--
Greg Donald
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List
Did you just top post? Top posting === evil;
-Original Message-
From: Jason Davidson [mailto:[EMAIL PROTECTED]
Sent: Friday, September 17, 2004 3:14 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] mysql_connect does not connect
HAHAHA, this thread is awsome though, you
On Fri, 17 Sep 2004 14:41:28 -0600, Chris Gregors
[EMAIL PROTECTED] wrote:
This whole thread has degraded to the point of:
YHBT. YHL. HAND.
and I'm not helping it.
Well.. could you at least not top post while you're not helping..
Trying to keep this dignified and stuff. :)
--
:)
Andre
On Friday 17 September 2004 05:08 pm, you wrote:
Did you just top post? Top posting === evil;
-Original Message-
From: Jason Davidson [mailto:[EMAIL PROTECTED]
Sent: Friday, September 17, 2004 3:14 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] mysql_connect does
[snip]
Thanks for the input, Jay! I prefer top posting since you get the answer
first, then the question (iff you're interested enough to scroll down --
sigh
-- I'm too lazy :)
[/snip]
.siht ekil rewsna dluohs I nehT
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
posting === evil;
-Original Message-
From: Jason Davidson [mailto:[EMAIL PROTECTED]
Sent: Friday, September 17, 2004 3:14 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] mysql_connect does not connect
HAHAHA, this thread is awsome though, you all must admit the humor
involved
On Saturday 18 September 2004 05:17, Greg Donald wrote:
Well.. could you at least not top post while you're not helping..
Trying to keep this dignified and stuff. :)
I think everybody who is anybody who had a point to make has already done so.
Can we bury this thread now?
--
Jason Wong -
what is top posting
Jay Blanchard [EMAIL PROTECTED] wrote:
Did you just top post? Top posting === evil;
-Original Message-
From: Jason Davidson [mailto:[EMAIL PROTECTED]
Sent: Friday, September 17, 2004 3:14 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP
.
Jay Blanchard wrote:
Did you just top post? Top posting === evil;
-Original Message-
From: Jason Davidson [mailto:[EMAIL PROTECTED]
Sent: Friday, September 17, 2004 3:14 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] mysql_connect does not connect
Jay Blanchard wrote:
[snip]
Thanks for the input, Jay! I prefer top posting since you get the answer
first, then the question (iff you're interested enough to scroll down --
sigh
-- I'm too lazy :)
[/snip]
.siht ekil rewsna dluohs I nehT
did you do that with strrev() or type it out by hand?
On Thursday 16 September 2004 11:06, Sam Hobbs wrote:
It is my understanding that the firewall is not supposed to be relevant. I
have not seen anything saying it is supposed to be. If it is true that it
is not supposed to be relevant, then simply saying it is just causes
confusion. If you had
On Thursday 16 September 2004 05:06, Sam Hobbs wrote:
It is my understanding that the firewall is not supposed to be relevant. I
It is our experience at my employer that the firewall in XP-SP2, as well as
other firewalls that are available, are very relevant.
have not seen anything saying it
All this is irrelevant; while you're still trying to use MySQL 5 with
mysql_connect() instead of mysqli_connect(), it WILL NEVER WORK
Sort that out first before you start worrying about firewalls - you
can't test the firewall if you can't ever have a successful test case.
Cheers
Chris
Markus
On Thursday 16 September 2004 17:52, Chris Dowell wrote:
All this is irrelevant; while you're still trying to use MySQL 5 with
mysql_connect() instead of mysqli_connect(), it WILL NEVER WORK
Sort that out first before you start worrying about firewalls - you
can't test the firewall if you
Chris Dowell wrote:
All this is irrelevant; while you're still trying to use MySQL 5 with
mysql_connect() instead of mysqli_connect(), it WILL NEVER WORK
Sort that out first before you start worrying about firewalls - you
can't test the firewall if you can't ever have a successful test case.
i am in total agreeance of this post. Sinse the 'flame' war is
primarily between me and everyone else, especially sam hobbes, (not the
first time either), no more contributiuons to this thread from me. I
hope it gets resolved, and i hope it gets posted as much so others can
search the archive of
I appreciate your attempts to help, but you must understand that when
attempts to help just cause time to be wasted, then it might be appropriate
to not appreciate the help. Then when I try to explain that you are not
helping, you make comments such as this, trying to blame me. If I am the
Greg Donald [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I lost track of who the original poster was, but anyway...
Why not disconnect from the internet, turn off all the firewalls, and
then see if it works. If it doesn't then post some error messages and
code for what's being
Good day, im glad you seem to have resolved your problem, i shall
comment on your comments.
Sam Hobbs [EMAIL PROTECTED] wrote:
I appreciate your attempts to help, but you must understand that when
attempts to help just cause time to be wasted, then it might be appropriate
to not
On Wed, 15 Sep 2004 15:06:11 -0700, Sam Hobbs [EMAIL PROTECTED] wrote:
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 likely to be a
Greg Donald [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Yeah, seeing how we don't have physical access to your system that's
all you will get is guesses and suggestions. If you want definative
answers, hire a consultant, bring them to your pc, and pay them to fix
it.
I have
Jason Davidson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Now that you have figured out, that it is possible its your firewall,
which, many, and i think you claimed before was impossible, what
exactly makes you sure i said anything invalid.
It is my understanding that the
Windows XP Firewall, or any other firewall for that matter must be off.
Jason
Sam Hobbs [EMAIL PROTECTED] wrote:
I have:
PHP Version 5.0.1
MySQL 5.0.1
Apache 2.0.48
Winows XP Pro SP2
MySQL is working fine as best as I can see; I have tried the various samples
in the
Also, a google on the error returns hundreds of results..
http://www.google.ca/search?hl=enie=UTF-8q=Can%27t+connect+to+++MySQL+server+on+%27localhost%27+%2810061%29btnG=Searchmeta=
Jason
Jason Davidson [EMAIL PROTECTED] wrote:
Windows XP Firewall, or any other firewall for that matter
Jason Davidson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Windows XP Firewall, or any other firewall for that matter must be off.
Jason
Can someone else confirm that this is correct?
For one thing, when I use MySQL directly outside of a web page, it works.
The sample C program
Sam Hobbs wrote:
Jason Davidson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Windows XP Firewall, or any other firewall for that matter must be off.
Jason
Can someone else confirm that this is correct?
It's not correct.
For one thing, when I use MySQL directly outside of a web
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I don't know anything about WindowsXP or it's 'firewall', but you _may_
have to open the port for which you have MySQL running on. I haven't
followed this thread, but if MySQL, and your php enabled webserver are on
the
Jason Davidson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Also, a google on the error returns hundreds of results..
http://www.google.ca/search?hl=enie=UTF-8q=Can%27t+connect+to+++MySQL+server+on+%27localhost%27+%2810061%29btnG=Searchmeta=
Yes, I could have searched more
The webpage of coarse, is not local, regardless of where its hosted, so
a firewall will come into play when trying to connect.
You dont have disable it, i should have been specifc i suppose, you must
allow for the mysql port to be open. :)
Whats for others to confirm, try it yourself and see if
Sam
Your problem probably does stem from the extension not being installed.
You say you're using (IIRC) mySQL 4.1
This requires you to use the mysqli extension, not the mysql extension
As you're on windows, it's probably just a case of uncommenting the
extension=php_mysqli.dll
line in your
Jason Davidson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Also, a google on the error returns hundreds of results..
http://www.google.ca/search?hl=enie=UTF-8q=Can%27t+connect+to+++MySQL+server+on+%27localhost%27+%2810061%29btnG=Searchmeta=
One thing I did find in the
The firewall I am using is ZoneAlarm, the free version. I am nearly certain
that it does not allow specific ports to be opened, at least not for
specific addresses. So if this were a requirement, probably many others
would have that specific problem.
However if nothing else works, I will try
Jason Davidson wrote:
The webpage of coarse, is not local, regardless of where its hosted, so
a firewall will come into play when trying to connect.
You dont have disable it, i should have been specifc i suppose, you must
allow for the mysql port to be open. :)
Whats for others to confirm, try
Possible i should have checked your configurations, however, to itterate
my point slightly, here is some documentation, you may find it usefull
regardless of how you connect to your db.
http://dev.mysql.com/doc/mysql/en/Can_not_connect_to_server.html
Jason
Sam Hobbs [EMAIL PROTECTED] wrote:
ok, well, i just posted a link for you to check out, it gives insight on
how mysql connects on different platforms, this will of use to you i
think, the last few bullets in the page i linked to are of some
importance to your error msg which says, cant connect to localhost, and
not, cant connect
Hey, i understand that, :) however, a firewall may restrict _any_
access to a port, and if you are connected thru TCP/IP, then that port
may be restricted even if 'local'. It is still a client server
relationship regardless where client and server reside.
Of coarse, this may not be the issue
And for more testimonies, sinse i fear im getting absolutely no credit
for having any knowledge of mysql and php.. :P (i say that in jest of
coarse)
search this in google and see how many people fixed the very problem by
disabling or adjusting the firewall.
Of coarse, this may not be the issue he is having, but it is an issue i
have dealt with before, as retarded as you all seem to think it is.
I lost track of who the original poster was, but anyway...
Why not disconnect from the internet, turn off all the firewalls, and
then see if it works. If
Note that there is a difference between the php_mysqli and the php_mysql
extensions. I have both php_mysqli.dll and php_mysql.dll in my PHP501\ext
directory, but I don't have the extension=php_mysqli.dll line in my
php.ini file. Is that something that should be in the php.ini (with a ; to
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Jason Davidson wrote:
The webpage of coarse, is not local, regardless of where its hosted, so
a firewall will come into play when trying to connect. You dont have
disable it, i should have been specifc i suppose, you must
And the relevant portion of that says external access, which is not
applicable here. I do not see anything else on that page that is relevant.
Jason Davidson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
ok, well, i just posted a link for you to check out, it gives insight on
how
There is an issue with sp2 and loopback, you can argue all you like, but
many have had this problem, and many have resolved it. Mysql will not
connect through udp, it will use tcp. If you supply a hostname in your
connect function, it will use tcpip to connect over a port, if oyu dont
supply a
ok, your the boss on this, i give up :) what does experience provide
anyways..
the important thing is, i can connect to my mysql database :)
Jason
Sam Hobbs [EMAIL PROTECTED] wrote:
And the relevant portion of that says external access, which is not
applicable here. I do not see anything
I have:
PHP Version 5.0.1
MySQL 5.0.1
Apache 2.0.48
Winows XP Pro SP2
MySQL is working fine as best as I can see; I have tried the various samples
in the MySQL manual and I have executed the myTest sample provided with
MySQL. They all work.
However I can't get mysql_connect to
Hi,
Firstly, i'm using PHP 4.3.8 and MySQL 4.0.20, on Linux. PHP is
connecting to MySQL over a local socket connection.
I have a PHP script that runs constantly on one of my servers. It
basically does some processing work with data in a MySQL database,
pnctl_fork()s a child process to do some
Gah...
To investigate my suspicion that it's not opening a new link, i've
set tcpdump going on the server and will analyse the dumpfile once
Realising my stupidity, i have now stopped tcpdump. Of course it will
not capture anything as i am using a local socket connection! :)
Having said that,
]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 4:29 PM
Subject: [PHP] mysql_connect and PHP 5.0
I've installed MySQL 5.0 with Apache 2.0.50.
Before, I had running MySQL 4.3.3 and 2.0.47 and a Picturegalerie. After
migrating to 5.0 i get this error:
Call to undefined function
I've installed MySQL 5.0 with Apache 2.0.50.
Before, I had running MySQL 4.3.3 and 2.0.47 and a Picturegalerie. After
migrating to 5.0 i get this error:
Call to undefined function mysql_connect() in
D:\kreiszner\galerie\includes\db_mysql.php on line 39
This is line 39 and 40:
if
Help again please.
Im trying to connect to MySQL server, using the PHP function:
mysql_connect('localhost', 'someuser', 'somePword');
I run it, and what I get is:
*Fatal error*: Call to undefined function: mysql_connect()
What do I have to do in order to make it work? Im using php-4.2.2-17.
(I sent this message earlier but I got a message saying that it was not
sent, if you did receive it, I appologize for sending it again)
Help again please.
Im trying to connect to MySQL server, using the PHP function:
mysql_connect('localhost', 'someuser', 'somePword');
I run it, and what I get
Hello,
Here i am facing one problem. i have installed the following in my pc in
linux platform. i am getting this error when try to execute file. Can any
one tell me why this error due to ?
Version :
mysql-3.32.41-1
php-4.2.2-17
apache httpd-2.0.40-21
Error :
Call to undefined function
T,
You also need to load the php_mysql rpm (Assuming you loaded via rpm)
Till We Meet Again...
Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.
+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
[EMAIL PROTECTED] (EMail)
Hi all!
Its really strange/weird problem for me.
it says:::
Fatal error: Call to undefined function: mysql_connect() in
/home/abcde/dfdfdfd/incfiles/db.inc on line 24
till afternoon site was running fine with all mysql connection .
but suddenly its showing that error
i don
[snip]
Fatal error: Call to undefined function: mysql_connect() in
/home/abcde/dfdfdfd/incfiles/db.inc on line 24
[/snip]
Strange indeed. Can you show the code?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you do phpinfo(), do you see in the section names *Configure
Command* this directive: --with-mysql=something ? If not, you must
re-compile PHP lwith MySQL support
Binay wrote:
Hi all!
Its really strange/weird problem for me.
it says:::
Fatal error: Call to undefined function:
, November 26, 2003 7:12 PM
Subject: RE: [PHP] mysql_connect() : undefined function
[snip]
Fatal error: Call to undefined function: mysql_connect() in
/home/abcde/dfdfdfd/incfiles/db.inc on line 24
[/snip]
Strange indeed. Can you show the code?
--
PHP General Mailing List (http://www.php.net
[snip]
I just upload a simple file containing ...
mysql_connect(localhost,username,password)
thtst it ...
[/snip]
Try mysql_pconnect(localhost,username,password);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
101 - 200 of 246 matches
Mail list logo