Learn about the causes of the Public Key Retrieval is not allowed error when working with MySQL in a Java application and ways to fix or work around it.
Also find me here:
Baeldung Editor
Hiks Gerganov
Driven by self-improvement and self-sufficiency. Self-motivated and self-disciplined. Dependable. Minimalist perfectionist. Problem solver. Can work on and improve anything related to IT.
Here's what I've reviewed (so far):
Baeldung on Java
- All
- Java (4)
- Spring Boot (3)
- Java String (2)
- Java Array (2)
- JSON (2)
- Artificial Intelligence (2)
- Testing (1)
- Spring Data (1)
- Spring Cloud (1)
- Security (1)
- Persistence (1)
- Java IO (1)
- JVM (1)
- JPA (1)
- HTTP Client-Side (1)
- Gradle (1)
- DevOps (1)
- Data (1)
- Core Java (1)
How to Handle and Fix java.io.NotSerializableException
Filed under Core Java
Learn ways to work around or correct java.io.NotSerializableException when dealing with Java runtime serialization.
Resolving PostgreSQL ERROR: canceling statement due to user request
Filed under Persistence
Learn about the underlying causes of ERROR: canceling statement due to user request during statement execution with PostgreSQL and how to handle them.
Transpose double[][] Matrix With a Java Function
Filed under Java Array
Learn different ways to transpose a two-dimensional matrix of double values in Java.
Introduction to Jlama
Filed under Artificial Intelligence
Learn how to use Jlama with a simple setup and direct examples.
Introduction to simple-openai
Filed under Artificial Intelligence
Learn about the simple-openai library with examples of how to leverage it for simple chat responses, conversations, and streaming for longer answers.
Solving Hibernate SyntaxException: token ‘*’, no viable alternative at input
Filed under JPA
Learn about the token ‘*’, no viable alternative at input SyntaxException when using Hibernate and understand how to correct it.
Fixing Bean Creation Issues With MapStruct @Mapper Annotations in Spring Applications
Filed under Spring Boot
Learn about integrating MapStruct @Mapper annotations with Spring to avoid bean creation problems.
Terminating Scanner When Input Is Complete in Java
Filed under Java IO
Learn how to handle the termination of a Scanner object that should receive no more data.
Baeldung on Linux
- All
- Administration (213)
- Scripting (110)
- Files (57)
- Text Processing (46)
- Installation (40)
- Processes (32)
- Filesystems (31)
- File Editing (30)
- Networking (29)
- Security (28)
- User Administration (24)
- Web (22)
- Network Configuration (19)
- File Viewing (19)
- File Conversion (16)
- Service Management (12)
- Package Management (12)
- File Transfer (10)
- Boot Process (10)
- File Searching (9)
- Network Monitoring (7)
- Docker (6)
- File Permissions (5)
- Search (4)
- File Compression (4)
- Building (3)
How to Identify the Package Manager of a Linux System
Filed under Package Management, Scripting
Learn different ways to guess or identify the default package manager of a Linux system.
Redirecting Standard Output in C With the dup2() Function
Filed under Processes
Learn how redirection works and the way the dup2() function achieves it in C.
What Is SELinux?
Filed under Administration, Security
Learn what SELinux is, how it works, and the way it can provide better security when paired with the common discretionary access control.
How to Fix USB Sticks Mounted as Read-Only
Filed under Administration, Filesystems
Learn how to identify and diagnose undesired USB flash drive read-only mounts.
Linux Filesystem Structure
Filed under Filesystems
Learn what the usual filesystem structure is in Linux system and where files should go by type and purpose.
Locate Power Supply Hardware Information Using the Linux Command Line
Filed under Administration
Learn how to identify power supply and usage information within a Linux system.
Executing Commands in Gnuplot Through Shell Script
Learn how to run Gnuplot scripts via shell scripts in Linux.
How to Restore Systemd After Deleting It Accidentally
Filed under Boot Process, Service Management
Learn how to restore and recover a broken Linux system that had its Systemd components deleted or damaged.
Maintain Process History and Monitoring Processes on a Linux Machine
Filed under Administration, Processes
Learn about different tools and their options for process history and overall system performance monitoring and recording.
Baeldung on Ops
- All
- Docker (21)
- Git (10)
- Deployment Tools (9)
- Search & Analytics (7)
- Jenkins (7)
- DevOps (7)
- Kubernetes (4)
- Cloud (4)
- Monitoring (3)
- DevOps Concepts (2)
Introduction to GoCD
Filed under Deployment Tools, DevOps
Learn how GoCD can help with development through CICD pipeline creation, maintenance, and visualization.
Using a Package Manager in GitHub Actions
Filed under Deployment Tools, Git
Learn how to safely and wisely use a package manager within GitHub Actions.
Troubleshooting the no configuration file provided: not found Error in Docker Compose
Filed under Docker
Learn how to avoid common configuration file location errors when using Docker Compose commands.
Use Private Docker Image in GitHub Actions
Filed under Docker
Learn how to use private Docker images from different sources within GitHub Actions workflows.
Capturing MySQL Data Change Using Maxwell
Filed under DevOps, Monitoring
Learn how Maxwell exposes MySQL database changes to different destinations with minimal performance impact.
Guide to FoundationDB
Filed under DevOps Concepts
Learn the basic idea, structure, strengths, weaknesses, and installation steps of FoundationDB.
Real-Time Monitoring Using Apache HertzBeat
Filed under Monitoring
Learn about Apache HertzBeat, understand how to deploy and configure it, and check out an example with a monitor and threshold creation.
Log Task Output to a File in Ansible
Filed under DevOps
Learn different ways to direct the results of an Ansible task to one or many files.
Caching the RUN npm install Instruction in Dockerfile
Filed under Docker
Learn how Docker caching works depending on the instruction order when containerizing and building a Node.js application via a Dockerfile.
Baeldung on SQL
- All
- SQL Queries (15)
- SQL Functions (4)
- Database Concepts (4)
- SQL Programming (3)
- SQL Constraints (3)
- Database Access (3)
- SQL Views (2)
- SQL Tables (2)
- SQL Operators (1)
- SQL Joins (1)
How to Retrieve the Database Size?
Filed under SQL Queries, SQL Views
Learn how to check the size of databases via SQL for different database management systems.
How to Exclude a Column Using SELECT EXCEPT in SQL
Filed under SQL Queries
Learn how to exclude one or more columns when displaying whole tables.
Which MySQL Data Type Is Best for Storing Boolean Values?
Filed under Database Concepts
Learn different ways to represent and handle Boolean values within MySQL databases.
Updating Rows With a Subquery Referencing the Same Table in SQL
Filed under SQL Joins, SQL Queries
Learn how to update a table based on data from that table by using an SQL subquery.
How to UPDATE a Record Using a SELECT in SQL Server
Filed under SQL Queries
Learn several methods to use a SELECT statement for updating values through an SQL Server query.
Understanding and Handling the Error Column X is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause
Filed under SQL Queries
Learn how to handle a specific error that occurs when SQL can reconcile multiple aggregated data points with their distinct properties.
Combining DISTINCT and COUNT in an SQL Query
Filed under SQL Constraints, SQL Queries
Learn ways to use COUNT and DISTINCT together within a single SQL query.
How to Use Columns From a Subselect in WHERE Clause in SQL
Filed under SQL Programming, SQL Queries
Learn how to use columns from subselects within WHERE clauses in SQL.
Most Efficient Way to Get Table Row Count in SQL
Filed under SQL Tables
Learn efficient ways to get the table row count without performance degradation and burdening the server.