Check the permissions of the user that you are using to log into the database. 
It probably has localhost access but no network access.

--- In [email protected], Dan Pride <danielpr...@...> wrote:
>
> I have a problem when I move my amfphp to a new server.
> I get the following error
> 
> (Object)#0
>   message = "faultCode:AMFPHP_BUILD_ERROR faultString:'mysql_connect(): Can't 
> connect to MySQL server on '208.109.94.94' (10060)' 
> faultDetail:'D:\Hosting\5298779\html\amfphp\services\/MyService.php on line 
> Undetermined line  in constructor'"
>   name = "Error"
>   rootCause = (null)
> 
> Note, this works fine on the server where the database resides, but the 
> database is generally accessible, so why do I get the error in the amfphp 
> browser when trying to log into it from an external server? (log in is being 
> done from inside the class constructor calling an include file (available) 
> with define statements for datbase, user, pass et al)
> 
> Thanks in advance for any help you can offer.
> Dan Pride
>


Reply via email to