MYSQL Servername issue?

Discussion in 'Off Topic' started by auztrax1, Feb 11, 2017.

  1. auztrax1

    auztrax1 New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Long short story, I am having issues with $servername = "localhost"; looks like it is not localhost or iam missing something, i tried username@x10....
     
  2. auztrax1

    auztrax1 New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    reference: $conn = new PDO("mysql:host=$servername;dbname=$dbname", $username, $password);
     
  3. bdistler

    bdistler Well-Known Member Prime Account

    Messages:
    3,534
    Likes Received:
    196
    Trophy Points:
    63
    what is the issue (error) ??
    ###

    the following settings should be used:
    NOTE: Free hosting accounts do not have remote MySQL access.
     

Share This Page