discussion list plug-discuss@lists.plug.phoenix.az.us
Cc: Steven A. DuChene linux-clust...@mindspring.com
Subject: Re: mysql_connect won't when run from web server
Is your hostname mysql valid, just ping mysql and see if you get a
response. Try to connect to localhost as well and see if it works.
Most
: mysql_connect won't when run from web server
Is your hostname mysql valid, just ping mysql and see if you get a
response. Try to connect to localhost as well and see if it works.
Most default installs will listen only on 127.0.0.1, not the live IP
most distro's bind to the hostname from the network
me.
-Original Message-
From: Joe j...@nationnet.com
Sent: May 25, 2009 12:10 AM
To: Steven A. DuChene linux-clust...@mindspring.com, Main PLUG discussion
list plug-discuss@lists.plug.phoenix.az.us
Subject: Re: mysql_connect won't when run from web server
Is selinux enabled? If I remember
: Re: mysql_connect won't when run from web server
Is your hostname mysql valid, just ping mysql and see if you get a
response. Try to connect to localhost as well and see if it works.
Most default installs will listen only on 127.0.0.1, not the live IP
most distro's bind to the hostname from
: May 24, 2009 10:03 PM
To: Main PLUG discussion list
plug-discuss@lists.plug.phoenix.az.us
Cc: Steven A. DuChene linux-clust...@mindspring.com
Subject: Re: mysql_connect won't when run from web server
Is your hostname mysql valid, just ping mysql
A. DuChene linux-clust...@mindspring.com
Subject: Re: mysql_connect won't when run from web server
Is your hostname mysql valid, just ping mysql and see if
you get a
response. Try to connect to localhost as well and see if
it works.
Most
Hello all:
I have a php to mysql database connection script that I am having a problem
with.
I have two systems. One is running apache and also happens to be my desktop
system.
Call this one system Apache. The other system is running mysql and let's call
this
one Mysql.
the connection script
) in
/home/minime/public_html/testmysqlconnect_script.php on line 6
-Original Message-
From: Steven A. DuChene linux-clust...@mindspring.com
Sent: May 24, 2009 3:53 PM
To: plug-discuss@lists.plug.phoenix.az.us
Subject: mysql_connect won't when run from web server
Hello all:
I have a php to mysql
After a long battle with technology, Steven A. DuChene wrote:
?php
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die(Error
connecting to mysql);
die(can't connect: .mysql_error()); will give you a little more info about
what's going wrong.
$ php testmysqlconnect_script.php
But if that was the problem then the command line invocation on the Apache
server should not work. I.E. if it was a port or firewall issue.
Can't connect to MySQL server on 'Mysql' (13)
in /home/minime/public_html/testmysqlconnect_script.php on line 6
Are you running in safe mode? Is
After a long battle with technology, Steven A. DuChene wrote:
But if that was the problem then the command line invocation on the Apache
server should not work. I.E. if it was a port or firewall issue.
apache:~$ mysql -u user --password=BLAH --host Mysql
apache:~$ php -r
Do you have php-mysql installed? Did you restart httpd after you
installed it?
Matt Graham wrote:
After a long battle with technology, Steven A. DuChene wrote:
But if that was the problem then the command line invocation on the Apache
server should not work. I.E. if it was a port or
Hi Steven,
On Sun, May 24, 2009 at 3:53 PM, Steven A. DuChene
linux-clust...@mindspring.com wrote:
Hello all:
I have a php to mysql database connection script that I am having a problem
with.
I have two systems. One is running apache and also happens to be my desktop
system.
Call this one
13 matches
Mail list logo