Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Database – Live to local

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #194657
    han003
    Participant

    Hi!
    I am using Wamp for development, and I have a online database at dreamhost.
    When I try to connect to the dreamhost database from wamp i get an error
    “Warning: mysqli::mysqli(): (HY000/1045)”
    But when I upload the same files to FTP and use my live site, it works

    Is it not possible from Wamp?

    Thank you much

    #194674
    bochristensen
    Participant

    According to this: http://wiki.dreamhost.com/MySQL#Connect_to_your_MySQL_database_using_third-party_programs
    you probably need to add your machine to Allowable Hosts.

    #194705
    han003
    Participant

    Thanks, that removed the error

    But when I run my query to fetch some info from the dreamhost database, it doesn’t return anything when running from localhost.
    While on the live site it returns what it’s supposed to return

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.