t;>
>> -Original Message-----
>> >From: Mike Butash
>> >Sent: May 24, 2009 10:03 PM
>> >To: Main PLUG discussion list
>>
>> >Cc: "Steven A. DuChene"
>> >Subject: Re: mysql_connect won
---
> >From: Mike Butash
> >Sent: May 24, 2009 10:03 PM
> >To: Main PLUG discussion list
>
> >Cc: "Steven A. DuChene"
> >Subject: Re: mysql_connect won't when run from web server
> >
>
it works fine. I really believe this eliminates any port or firewall
> or ping or FQDN or localhost issues between the two boxes.
>
> -Original Message-
> >From: Mike Butash
> >Sent: May 24, 2009 10:03 PM
> >To: Main PLUG discussion list
> >Cc: "Steven
eyond me.
-Original Message-
>From: Joe
>Sent: May 25, 2009 12:10 AM
>To: "Steven A. DuChene" , Main PLUG discussion
>list
>Subject: Re: mysql_connect won't when run from web server
>
>Is selinux enabled? If I remember correctly there is an option that
ve this eliminates any port or firewall
> or ping or FQDN or localhost issues between the two boxes.
>
> -Original Message-
>
>> From: Mike Butash
>> Sent: May 24, 2009 10:03 PM
>> To: Main PLUG discussion list
>> Cc: "Steven A. DuChene"
list
>Cc: "Steven A. DuChene"
>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.
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 t
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 firewa
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 '$c=mysql_connect("Mys
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:
> $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
>
ime/public_html/testmysqlconnect_script.php on line 6
-Original Message-
>From: "Steven A. DuChene"
>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 da
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 is
13 matches
Mail list logo