Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: How to solve sql error while using Dashboard for Pentaho 3.0

  1. #1

    Default How to solve sql error while using Dashboard for Pentaho 3.0

    when i running report in Pentaho 3.0,
    i"m getting the error below

    Error: ConnectFactory.ERROR_0001 - Database connection could not be established to: LocalHost - javax.naming.NameNotFoundException: Name LocalHost is not bound in this Context (org.pentaho.platform.plugin.action.sql.SQLLookupRule).

    Can anyone help me

  2. #2
    pstoellberger Guest


    are you trying to access an existing dashboard or your own?
    did you create a new datasource and want to use that? (in administration console)
    did you name that datasource LocalHost?
    if not, what did you name it?

    you are trying to use a JNDI resource called LocalHost which doesn't exist..

  3. #3


    i have create my own database named LocalHost.
    i create new Dashboard from Publish options in Report Designer..

    When i creating new Database Connection in report Designer ,
    whether i can access only one schema in referring or all schema in Database Connection

    In Report Designer , Connect To Data

    JNDI Name : LocalHost
    Driver :com.mysql.jdbc.Driver
    Connection String :jdbc:mysql://localhost:3306/ems
    User Name : root
    Password :root

    is this Parameter given correct

  4. #4

    Default re

    yes your configuration seems ok, but i have strange feeling that the name has to be changed to something other than localhost.
    Simplicity never killed anybody!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.