How to connect to external database

Help
2009-07-02
2013-05-28
  • Knut Krüger

    Knut Krüger - 2009-07-02

    is it possible to connect to an external database?
    Refbase shows me only the loca IP if I try to change from localhost to anything else, like
    $hostName = "domain.de"; // e.g.: "localhost"
    or
    $hostName = "http://domain.de"; // e.g.: "localhost"

    external access of the database is enabled and working from a testfile

    Regards Knut

     
    • Matthias Steffens

      Hi Knut,

      [am travelling (until Sunday), but just quickly]

      > is it possible to connect to an external database?

      I must admit that I've never tried this, nor did I have the chance to do so.

      > external access of the database is enabled and working from a testfile

      So, can you access your remote MySQL database on the shell from, say, the 'mysql' command line program?

      If you send me your data via private mail, I may be able to look into this further.

      Thanks, Matthias

       
      • Knut Krüger

        Knut Krüger - 2009-07-02

        Sorry Matthias,
        its working there was a blank in the database name.
        It is working just as expected.
        Knut

         

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks