Discussion: Weird Scenario
Afficher un message
Vieux 30/09/2007, 10h14   #3
undbund
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Weird Scenario

On Sep 30, 8:23 pm, Brian Wakem <n...@email.com> wrote:
> undbund wrote:
> > Hi I am in a situation that i don't know how to solve, Here it is,

>
> > I have written a script using PHP5 that uses MySQL5 database which is
> > remotely hosted. When i run the script using local computer Apache
> > 2.061, the script runs perfectly. When i run on demo server (hosted
> > remotely) the script runs perfectly. The remote demo server is Apache/
> > 1.3.33 using PHP4.4.6

>
> > But when i run on the live server i get the following error:
> > Can't connect to MySQL server on 'xxx.xxx.xxx' (111)

>
> 111 = Connection refused.
>
> Is xxx.xxx.xxx listening on port 3306? Do you have permission to connect to
> it?
>
> --
> Brian Wakem



Hi

Thanks for your reply. I guess my script should be able to connect to
remote MySQL Server from live server because I am able to connect from
my remote demo server. How can you know on which port is MySQL running
on and how can you give a remote server permission to connect to
remote database?

Thanks for your and suggestions,
Undbund

  Réponse avec citation
 
Page generated in 0,05314 seconds with 9 queries