DBeaver /v7 – Install on CentOS

Installing Need a quick install of DBeaver on my CentOS box. Outline Artifact Identify artifact Download artifact Dependencies List Dependencies Review Dependencies Install Dependencies Install actual package Review install Launch app   Tasks Artifact Identify Artifact URL Artifacts for DBeaver are available @ Link Image Explanation Our targeted OS is a 64-bit CentOS and so … Continue reading DBeaver /v7 – Install on CentOS

MySQL – Insert/Ignore

Background In our last post, we touched on a duplicate key error. Here is another quick workaround around the same issue. Lineage MySQL – Insert/On Duplicate Key Update Link Error Error Message Text Image Entity Diagram Table Definition SQL Code Offending Code SQL Clean up Code Outline Add Ignore clause to insert statement SQL Output … Continue reading MySQL – Insert/Ignore

MySQL – Connectivity – Error – “Unable to load authentication plugin ‘caching_sha2_password’. “

Background Another error encountered while trying to connect to a MySQL instance. Error Error Text Unable to load authentication plugin 'caching_sha2_password'. Error Image Troubleshooting Outline Review Installation Configuration Options Options Authentication Method Use Strong Password Encryption for Authentication Our Choice Use Legacy Authentication Method Review Available MySQL Driver Versions Generic Review the versions of MySQL … Continue reading MySQL – Connectivity – Error – “Unable to load authentication plugin ‘caching_sha2_password’. “

MySQL – Connectivity – Error – “Public Key Retrieval is not allowed”

Background Trying to connect to a MySQL instance, but ran into an error. Error Error Text Public Key Retrieval is not allowed Error Image Remediation Outline General Set Attribute Set attribute AllowPublicKeyRetrieval to true DBeaver Window - Connect to Database Connection Settings Tab - "Driver Properties" Toggle Property "AllowPublicKeyRetrieval" Change from false to true Images … Continue reading MySQL – Connectivity – Error – “Public Key Retrieval is not allowed”

DBeaver :- Generate Schema – Datatypes and Column Widths – Error – “Cannot specify a column width on data type”

Background Let us stay with Dbeaver and point out a slightly different issue.   Sample Data SQL Server DDL DDL - Create Schema and Table DBeaver Launched Dbeaver and worked towards scripting the object's DDL. Outline Here are the steps :- Connect to the Database Transverse the Database Navigator outline and select Instance\Database\Schema\Tables Select the … Continue reading DBeaver :- Generate Schema – Datatypes and Column Widths – Error – “Cannot specify a column width on data type”

DBeaver :- Export Data – Timestamp / SQL Server – Error – “Cannot insert an explicit value into a timestamp column”

Background Reviewing a system and wanted to get the data from one of it's table and copy it into a new system. Sample Data SQL Server DDL DDL - Create Schema and Table DML DML - Add Data to Table Microsoft SQL Server Management Studio ( SSMS ) SQL Server's Management Studio capably manages such … Continue reading DBeaver :- Export Data – Timestamp / SQL Server – Error – “Cannot insert an explicit value into a timestamp column”

DBeaver / SQL Anywhere – Database Connection Setup

Background Wanted to quickly add SQL Anywhere to the list of databases that DBeaver can connect to. Outline SAP SQL Anywhere Database Client Artifacts Download Install Dbeaver Register Data Source Configure Data Source Connect   Tasks SAP SQL Anywhere Database Client Artifacts Anywhere Database Client is available :- SAP SQL Anywhere Database Client Download Home … Continue reading DBeaver / SQL Anywhere – Database Connection Setup

DBeaver – Generating SQL from existing data

Background A good man reached out to me and prepped me about an upcoming Change Request. The Change will be to add a lone record. Options Here are a couple of options: Have him add it to Development / QA I will use Linked Server to bring it over to Production Create corresponding SQL Statements … Continue reading DBeaver – Generating SQL from existing data

Db/2 LUW & DBeaver – Error – An error occurred during implicit system action type “2”

Background Trying to run Explain on a Db/2 query, but running into an error. Error Error Image Error Text Troubleshooting Unselected Text When we try to explain the Query without selecting the text we get the error pasted below: Image Text Remediation Select Text Please select the text you want explained and click the "Explain … Continue reading Db/2 LUW & DBeaver – Error – An error occurred during implicit system action type “2”