首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在节点v11.2.0的Ubuntu18.04中无法运行PopSQL

在节点v11.2.0的Ubuntu18.04中无法运行PopSQL
EN

Stack Overflow用户
提问于 2018-11-22 12:21:40
回答 2查看 2.8K关注 0票数 1

为了学习MySQL,我使用.deb包安装了PopSQL,但它不起作用,当我使用sudo popsql从终端启动PopSQL时,我在终端中得到了这些错误,PopSQL ui显示了空白屏幕。

代码语言:javascript
复制
{"name":"PopSQL","hostname":"ivyRose","pid":16621,"level":30,"msg":"Starting app. Look for crash reports in /tmp and error logs in /home/neon/.config/PopSQL/error.log","time":"2018-11-22T12:15:27.927Z","v":0}

(popsql:16621): IBUS-WARNING **: 18:00:28.174: The owner of /home/neon/.config/ibus/bus is not root!
[Oracle] NJS-045: cannot load the oracledb add-on binary for Node.js 8.2.1 (linux, x64)
Node.js require() error was: 
  DPI-1047: 64-bit Oracle Client library cannot be loaded: "libclntsh.so: cannot open shared object file: No such file or directory". See https://oracle.github.io/odpi/doc/installation.html#linux for help
Node.js require() mapped to /opt/PopSQL/resources/app.asar/node_modules/oracledb/build/Release/oracledb.node
Node-oracledb installation instructions: https://github.com/oracle/node-oracledb/blob/master/INSTALL.md
You must have 64-bit Oracle client libraries in LD_LIBRARY_PATH, or configured with ldconfig.
If you do not have Oracle Database on this computer, then install the Instant Client Basic or Basic Light package from 
http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html

[ODBC] libodbc.so.1: cannot open shared object file: No such file or directory
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2018-11-23 02:16:06

你不需要PopSQL来学习MySQL。

但是,如果您想要运行,请按照错误消息说明进行:

  1. http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html下载即时客户端基本轻型包
  2. 解拉链
  3. 通过LD_LIBRARY_PATH或使用ldconfig将目录添加到库搜索路径(我建议使用后者),如inst所示

当需要oracledb时,PopSQL应该使用try/catch块,这样您就不会看到错误。

票数 0
EN

Stack Overflow用户

发布于 2018-11-22 12:49:50

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53430926

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档