Hue与RDBMS关系型数据库的集成
[[[mysql]]] //534行,将模块注释打开(注意,要打开注释)
# 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=mysqldb
# 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=blue01.mydomain
# 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=root
# Password matching the username to authenticate with when
# connecting to the database.
password=123
重启hue
查询编辑器->DB
本文介绍如何在Hue中集成关系型数据库(RDBMS),包括配置MySQL数据库的具体步骤,如设置数据库名称、引擎类型、主机名、端口、用户名及密码等,并指导完成配置后的重启操作。
649

被折叠的 条评论
为什么被折叠?



