1.在 MySQL 中增加数据库 hue

2.编辑 hue.ini 文件

[[database]]
# Database engine is typically one of:
# postgresql_psycopg2, mysql, sqlite3 or oracle.
#
# Note that for sqlite3, 'name', below is a path to the filename. For other backends, it is the database name
# Note for Oracle, options={"threaded":true} must be set in order to avoid crashes.
# Note for Oracle, you can use the Oracle Service Name by setting "host=" and "port=" and then "name=<host>:<port>/<service_name>".
# Note for MariaDB use the 'mysql' engine.
engine=mysql
host=cen-ubuntu
port=3306
user=root
password=ubuntu
# conn_max_age option to make database connection persistent value in seconds
# https://docs.djangoproject.com/en/1.9/ref/databases/#persistent-connections
## conn_max_age=0
# Execute this script to produce the database password. This will be used when 'password' is not set.
## password_script=/path/script
name=hue

3.初始化数据库

$ build/env/bin/hue syncdb
$ build/env/bin/hue migrate

最新文章

  1. Quartz.NET---任务调度框架
  2. Revit如何模型导入到InfraWorks中
  3. iOS: Crash文件解析(一)
  4. 3Sum Closest
  5. caffe中各层的作用:
  6. Could not create the driver from NHibernate.Driver.SQLite20Driver
  7. SilkTest天龙八部系列4-ChildWin
  8. 面向中国 Azure 开发者发布开源解决方案指南
  9. 关于 typings install 的使用
  10. 30款基本UX工具 - 用户测试与反馈工具
  11. HDU ACM 1071 The area 定积分计算
  12. 用Nodejs做一个简单的小爬虫
  13. 学习之&quot;setjmp和longjmp函数&quot;
  14. 2018/03/07 每日一个Linux命令 之 cat
  15. Mac下JDK、Maven、Tomcat、Git开发安装及环境变量配置
  16. leetcode之Maximal Square
  17. PHP中运算符优先级
  18. RequestMappingHandlerMapping 详解
  19. mysql数据库的存储过程
  20. 【JS】JS中对于this的理解

热门文章

  1. ring0 ShadowSSDTHook
  2. 初见git和github
  3. NW.js开发环境的搭建
  4. 【洛谷P2296】[NOIP2014]寻找道路
  5. 【luogu P1462 通往奥格瑞玛的道路】 题解
  6. 【题解】POJ 2115 C Looooops (Exgcd)
  7. Access用OleDbParameter更新/插入数据
  8. mysql substring_index()查询某个字符中以某个分割符分割后的值
  9. 2018-03-21 11:34:44 java脚本批量转换java utf-8 bom源码文件为utf-8编码文件
  10. Sass 基础(八)