dbeaver

关于Dbeaver的常用操作

僤鯓⒐⒋嵵緔 提交于 2020-02-25 12:32:45
dbeaver是免费和开源(GPL)为开发人员和数据库管理员通用数据库工具。 在开发过程中能够极大的提升我们的工作效率,下面我把我日常使用到的功能描述一下: 1:与plsql相比,Dbeaver没有右击直接查看表注释的功能,但是Dbeaver提供了一个“打开声明”的功能,里面可以查看一些比较实用的内容:表列注释、创建该表的create语句: 2:在一般开发的情况下,往往需要查询的数据条数不会那么地多,要求查询速度响应快,为了使Dbeaver查询速度更快,所以可以设置每次查询数据返回的条数,设置20条即可:窗口–首选项 3:为了平时写SQL语句更方便,Dbeaver提供了“模板功能”,该功能可以实现自动生成一些常用的SQL语句块,配置好之后输入名称然后按两下tab键就可以呼出SQL模板: 4:查询结果转换各种格式,查询结果集右击-高级复制: 来源: CSDN 作者: 1178969358 链接: https://blog.csdn.net/jiejuan1178969358/article/details/104490609

Can't query data on pgAdmin 4 but it works using psql and Python

北城以北 提交于 2020-02-07 02:29:45
问题 I have created a postgresql database on rds and I can connect and query it using psql on terminal or sqlalchemy on Python. When using pgAdmin4 I can't query or visualize the data but can create/alter tables, import data, ... I have also tried connecting it to Metabase and DBeaver but the connection times out. Any ideas why this is happening? I have also connected the database using pgAdmin3 and was able to visualize the data and query it, but since I am using postgresql 11.4 it is not fully

Can't query data on pgAdmin 4 but it works using psql and Python

巧了我就是萌 提交于 2020-02-07 02:28:55
问题 I have created a postgresql database on rds and I can connect and query it using psql on terminal or sqlalchemy on Python. When using pgAdmin4 I can't query or visualize the data but can create/alter tables, import data, ... I have also tried connecting it to Metabase and DBeaver but the connection times out. Any ideas why this is happening? I have also connected the database using pgAdmin3 and was able to visualize the data and query it, but since I am using postgresql 11.4 it is not fully

dbeaver的安装及部署

浪尽此生 提交于 2020-01-30 13:03:10
安装dbeaver之前,先需要安装jdk工具 jdk-8u171-windows-x64.exe 1. 安装jdk 需求 :jdk-8u171-windows-x64.exe安装包 windows10 x64位操作系统 下载好jdk-8u171-windows-x64.exe安装包后,双击点开安装 点击下一步,设置自己的安装目录 安装结束后,会再弹出一个对话框,这是 jre 的安装,先在jdk的文件夹旁边建了一个jre的文件夹,以免出现错误,然后将jre安装到jre文件夹里 然后下一步就安装完成了 2.配置环境变量 右键点击‘我的电脑’,点击属性,高级系统设置,环境变量 在系统变量中进行以下操作 1.新建JAVA_HOME变量,变量值为jdk的安装路径 2.新建CLASSPATH变量,变量值为 .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar(第一个分号前前面有一个点) 3.编辑path变量,在变量值最前加入%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin; 最后运行cmd黑窗口,输入java -version,显示java版本则成功 3.安装dbeaver 1.下载 DBeaver,解压后打开目录文件夹如下 新建dbeaver的快捷方式,点击快捷方式的属性,在目标一栏最后添加 -vm D:\jdk1.8.0_171

Unterminated dollar-quoted string at or near "$$

馋奶兔 提交于 2020-01-21 09:17:05
问题 I'm trying to declare some variables using DBeaver and keep hitting this error. Unterminated dollar-quoted string at or near "$$ DO $$ DECLARE A integer; B integer; BEGIN END$$; Any ideas? 回答1: DBeaver was the issue. Switched to PGAdmin and no more problems. 回答2: As of DBeaver 6, you can execute the script with ALT-X (on Windows), which does not attempt to do variable capture/interpolation involving dollar signs. 回答3: The syntax posted is fine. Your problem is that the client application or

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Dbeaver. No Java virtual machine

痞子三分冷 提交于 2020-01-14 05:06:40
问题 Java Virtual Machine not found while installing dbeaver tool in the system. What will do to recover from it ?. 回答1: If you installed zip archive or tar.gz archive of the dbeaver then Go to dbeaver directory (Directory created after extraction of archive) open dbeaver.ini in a text editor Type the following at the top of that file -vm copy & paste your java path here (up to bin) eg: -vm /home/admin/jdk1.8.0_131/bin Save the file Done 来源: https://stackoverflow.com/questions/44095665/a-java

DBeaver链接kerberos安全认证的Phoenix集群

吃可爱长大的小学妹 提交于 2020-01-07 04:47:18
DBeaver链接kerberos安全认证的Phoenix集群 最近公司的CDH集群,启动了kerberos安全认证,所有的用户验证全部需要依赖kerberos来进行。之前的裸奔集群,总算有了一些安全认证的功能,虽然网上很多人都说不推荐使用kerberos进行集群的安全认证,但是也没有说明使用哪种安全认证的方式会更好,目前比较现成的安全认证方式也只知道kerberos。 使用kerberos认证之后,原本的Phoenix sqlline可以在存有kerberos缓存票据的机器上直接运行,链接方式,启动命令等,都和没有启动kerberos之前一样。只需要执行klist命令,能够显示kerberos主体信息即可。但是使用Windows进行远程链接Phoenix时出现了问题。首先Windows上没有kerberos客户端,不能直接缓存票据。其次,如果使用kinit命令进行链接的话,必须知道kerberos中的主体密码,而CDH的kerberos主体是CM自主生成的,我们也不知道密码。所以我们只能使用kertab的形式进行链接。 明确了使用keytab的形式进行链接,我们首先尝试了Linux sqlline的形式链接,测试完全没有问题,使用一切正常。但是使用Windows的DBeaver远程链接时要怎么做呢? 百度搜索了一下

DBeaver链接kerberos安全认证的Phoenix集群

寵の児 提交于 2020-01-05 13:48:44
DBeaver链接kerberos安全认证的Phoenix集群 最近公司的CDH集群,启动了kerberos安全认证,所有的用户验证全部需要依赖kerberos来进行。之前的裸奔集群,总算有了一些安全认证的功能,虽然网上很多人都说不推荐使用kerberos进行集群的安全认证,但是也没有说明使用哪种安全认证的方式会更好,目前比较现成的安全认证方式也只知道kerberos。 使用kerberos认证之后,原本的Phoenix sqlline可以在存有kerberos缓存票据的机器上直接运行,链接方式,启动命令等,都和没有启动kerberos之前一样。只需要执行klist命令,能够显示kerberos主体信息即可。但是使用Windows进行远程链接Phoenix时出现了问题。首先Windows上没有kerberos客户端,不能直接缓存票据。其次,如果使用kinit命令进行链接的话,必须知道kerberos中的主体密码,而CDH的kerberos主体是CM自主生成的,我们也不知道密码。所以我们只能使用kertab的形式进行链接。 明确了使用keytab的形式进行链接,我们首先尝试了Linux sqlline的形式链接,测试完全没有问题,使用一切正常。但是使用Windows的DBeaver远程链接时要怎么做呢? 百度搜索了一下

ssl connection working in MySQL Workbench, but not in DBeaver

做~自己de王妃 提交于 2020-01-03 00:54:29
问题 I am getting an 'access denied' error trying to connect to a Google Cloud SQL MySQL instance with ssl in DBeaver. I am able to connect to the server with the same ssl credentials in MySQL Workbench connect without ssl credentials (through user name / password) in DBeaver. Any suggestions why this might be? 回答1: You can add connection with SSL support, at least in latest version for today (5.1). Create connection as usual, then skip testing and go to next step, then on SSL tab select "Require

Linux环境安装PostgreSQL-10.1

橙三吉。 提交于 2019-12-29 16:47:59
环境及资源 Linux版本:CentOS release 6.5 PostgresSQL版本:postgresql-10.1 PostgreSQL官网下载地址: https://www.postgresql.org/ftp/source/v10.1/     我下载的是 postgresql-10.1.tar.gz 参考文档:推荐看英文文档     1)英文文档: https://www.postgresql.org/docs/10/static/install-short.html     2)中文文档: http://www.postgres.cn/docs/9.3/install-short.html DBeaver下载地址: https://dbeaver.jkiss.org/download/     我下载的是社区版 Windows 64 bit (zip archive) (dbeaver-ce-4.3.0-win32.win32.x86_64.zip) DBeaver jdbc驱动下载地址: https://jdbc.postgresql.org/download.html#current     我下载的是 PostgreSQL JDBC 4.2 Driver, 42.1.4 正文 安装路径为/usr/local/pgsql/ 1、 解压 gunzip