to be
a problem slover

mongodb bi connector

In order to connect mongoDB to tableau or other BI tools, you need install MongoDB BI Connector.

Official document

https://www.mongodb.com/docs/bi-connector/current/installation/

Prerequisites

https://www.mongodb.com/docs/bi-connector/current/tutorial/install-bi-connector-rhel/

rpm -qa | grep -i openssl

Download

https://www.mongodb.com/try/download/bi-connector

Install

tar -xvzf mongodb-bi-linux-{arch}-{platform}-{version}.tgz
sudo install -m755 bin/mongo* /usr/bin/

Config

systemLog:
  logAppend: true
  path: "/data/mongosqld/logs/mongosqld.log"
  verbosity: 2
mongodb:
  net:
    uri: "<mongodb_host>:<mongodb_port>"
net:
  bindIp: 0.0.0.0
  port: 3307

Start

mongosqld --config /data/mongosqld/mongosqld.conf

Add to systemd (optional)

sudo sh -c 'cat > /usr/lib/systemd/system/mongosqld.service <<EOF
[Unit]
Description=mongosqld service
[Service]
Type=simple
User=ec2-user
WorkingDirectory=/home/ec2-user
ExecStart=/usr/bin/mongosqld /data/mongosqld/mongosqld.conf
Restart=always
RestartSec=1
[Install]
WantedBy=multi-user.target
EOF'
sudo systemctl enable mongosqld
sudo systemctl start mongosqld

Connect

After mongosqld been installed, you can connect it by mysql client, tableau, etc.

You can query mongoDB by sql.

bindIp: 0.0.0.0
port: 3307
赞(11) 打赏
欢迎转载,注明出处:刘世明的博客 » mongodb bi connector

评论 6

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #1

    Thanks for sharing. I read many of your blog posts, cool, your blog is very good.

    打开Binance账户2个月前 (04-13)回复
  2. #2

    Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.

  3. #3

    Your point of view caught my eye and was very interesting. Thanks. I have a question for you.

  4. #4

    Thanks for sharing. I read many of your blog posts, cool, your blog is very good.

  5. #5

    Hi! I knoww thhis iis kind off ooff topoic bbut Iwas
    wonderinng if youu kew where I could find a captha plugin forr mmy commsnt form?

    I’m using thhe same bllog platform as yopurs andd I’m havig truble
    findiing one? Thawnks a lot!

  6. #6

    Great post. I waas cheking constfantly this bpog
    andd I am impressed! Verry usseful information particularlly the
    last pasrt 🙂 I care forr such info a lot. I wass lookking for thiss
    certai info ffor a llong time. Thank youu and bst oof luck.

觉得文章有用就打赏一下作者

支付宝扫一扫打赏

微信扫一扫打赏