Enable DB Query in HUE web UI

put configuration in HUE as below:

Enable DB Query in HUE web UI

[librdbms]
  # The RDBMS app can have any number of databases configured in the databases
  # section. A database is kNown by its section name
  # (IE sqlite, mysql, psql, and oracle in the list below).

  `databases`
    # sqlite configuration.
    ## [`sqlite`]
      # Name to show in the UI.
     ## nice_name=sqlite

      # For sqlite, name defines the path to the database.
      #name=/tmp/sqlite.db
     
      # Database backend to use.
      #engine=sqlite

      # Database options to send to the server when connecting.
      # https://docs.djangoproject.com/en/1.4/ref/databases/
      ## options={}

    
    # MysqL, oracle, or postgresql configuration.
    [`MysqL`]
      # Name to show in the UI.
      nice_name="My sql DB"

      # For MysqL and Postgresql, name is the name of the database.
      # For Oracle, Name is instance of the Oracle server. For express edition
      # this is 'xe' by default.
      name=dbname

      # Database backend to use. This can be:
      # 1. MysqL
      # 2. postgresql
      # 3. oracle
      engine=MysqL

      # IP or hostname of the database to connect to.
      host=MysqL-server-ip

      # Port the database server is listening to. Defaults are:
      # 1. MysqL: 3306
      # 2. Postgresql: 5432
      # 3. Oracle Express Edition: 1521
      ## port=3306

      # Username to authenticate with when connecting to the database.
      user=username

      # Password matching the username to authenticate with when
      # connecting to the database.
      password=password

      # Database options to send to the server when connecting.
      # https://docs.djangoproject.com/en/1.4/ref/databases/
      ## options={}

restart HUE service

Enable DB Query in HUE web UI

ok

相关文章

这篇文章主要介绍“hive和mysql的区别是什么”,在日常操作中...
这篇“MySQL数据库如何改名”文章的知识点大部分人都不太理解...
这篇文章主要介绍“mysql版本查询命令是什么”的相关知识,小...
本篇内容介绍了“mysql怎么修改字段的内容”的有关知识,在实...
这篇文章主要讲解了“mysql怎么删除unique约束”,文中的讲解...
今天小编给大家分享一下mysql怎么查询不为空的字段的相关知识...