Re: [PHP] Re: PDO question

2012-11-28 Thread Jim Giner
On 11/28/2012 4:22 PM, ad...@buskirkgraphics.com wrote: On November 28, 2012 at 4:11 PM Jim Giner wrote: On 11/28/2012 3:58 PM, ad...@buskirkgraphics.com wrote: Guys, I am not quiet sure what is happening but every time i try to connect to a remote host it refers back to localhost. $pdo = n

Re: [PHP] Re: PDO question

2012-11-28 Thread ad...@buskirkgraphics.com
> On November 28, 2012 at 4:11 PM Jim Giner > wrote: > On 11/28/2012 3:58 PM, ad...@buskirkgraphics.com wrote: > > > > Guys, > > I am not quiet sure what is happening but every time i try to connect to a > > remote host it refers back to localhost. > > > > $pdo = new PDO('mysql:host=171.16.23.44;

Re: [PHP] Re: PDO question

2012-11-28 Thread Jim Giner
On 11/28/2012 4:18 PM, ad...@buskirkgraphics.com wrote: On November 28, 2012 at 4:11 PM Jim Giner wrote: On 11/28/2012 3:58 PM, ad...@buskirkgraphics.com wrote: Guys, I am not quiet sure what is happening but every time i try to connect to a remote host it refers back to localhost. $pdo = n

Re: [PHP] Re: PDO question

2012-11-28 Thread ad...@buskirkgraphics.com
>On November 28, 2012 at 4:11 PM Jim Giner wrote: > On 11/28/2012 3:58 PM, ad...@buskirkgraphics.com wrote: > > > > Guys, > > I am not quiet sure what is happening but every time i try to connect to a > > remote host it refers back to localhost. > > > > $pdo = new PDO('mysql:host=171.16.23.44;dbn

[PHP] Re: PDO question

2012-11-28 Thread Jim Giner
On 11/28/2012 3:58 PM, ad...@buskirkgraphics.com wrote: Guys, I am not quiet sure what is happening but every time i try to connect to a remote host it refers back to localhost. $pdo = new PDO('mysql:host=171.16.23.44;dbname=test', 'user','password'); ERROR: Access denied for user 'user'@'loca