4 Replies Latest reply on Jun 11, 2012 10:56 AM by BKBK

    cf administrator says connect to db is ok but web page says unable to find datasource.


      I have been able to connect my mysql database to the coldfusion 10 administrator, using the mysql(4/5) driver.  However when I attempt to preform a query in a webpage I get an error page saying:

      Datasource newsletter could not be found

      Here is the code snippet:

      <cfquery Name="dump" datasource="newsletter" username="root" password="*******">(my password is correct)

        select *

        from Newsletter


      <cfdump var=#dump#>


      ANy help would be appreciated.