Menu

Could not connect to database

2004-08-19
2004-09-09
  • kalmen chia

    kalmen chia - 2004-08-19

    hi ,

    i tried pcg , i entered the database
    connection detail at the 1st page

    Genie Flavor : Interbase 6
    Database Host : 192.168.1.159
    Database UserName : sysdba
    password : masterkey

    it gave
    could not connect to the database...

    any advise ?
    Thanks,
    kalmen

     
    • Nilesh Dosooye

      Nilesh Dosooye - 2004-08-20

      all my testing I did only on mysql and oracle.. so dont know much about interbase.. please check the adodb project (http://adodb.sourceforge.net) about how its interbase support is.. as I use adodb for any database connection. If it gave could not connect to database.. then the credentials that you supplied could not be used to make a connection.. check on the adodb page about what the host string for interbase could be...

       
    • Will Backman

      Will Backman - 2004-09-09

      I get this also.  I connected to a postgresql database, but noticed that the common/dbconnection.php include file uses mysql connect strings.

       
      • Nilesh Dosooye

        Nilesh Dosooye - 2004-09-09

        the generated code for the simple application is only for mysql at this time.. i cannot yet think of a good way to make it different for different dbs.. but if you generate PCG advanced code.. the code can communicate with any database via adodb..

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.