I am having a PDO mysql connection issue I cant explain.
On server server1.mydomain.com
I have a test script
171.16.23.44 is by an A record called server2.mydoamin.com they are 2 different
servers.
This script returns an error:
ERROR: Access denied for user 'user'@'server1.mydomain.com' (using p
> 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.
> >
>
>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.
> >
> &g
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'@'localhost' (using password: YES) in
/var/www/html/text.php
An
4 matches
Mail list logo