Showing entries 766 to 775 of 44097
« 10 Newer Entries | 10 Older Entries »
Backup your MySQL instance to the Cloud

Since MySQL Shell 8.1, it’s even easier to create a logical backup of your MySQL instance and store it directly in Object Storage, an internet-scale, high-performance storage platform in Oracle Cloud Infrastructure (OCI).

MySQL Shell now offers the option of dumping to Object Storage Bucket using PAR (Pre-Authenticated Request).

Bucket Creation

The first step is to create an Object Storage Bucket in the OCI Console:

Let’s call it lefred-mysql-backups:

When created, we can click on the three-dots and create a new PAR:

[Read more]
Sync user data between Clerk and a PlanetScale MySQL database

A common strategy of modern development, especially in serverless applications, is to offload user management to third-party authentication services, commonly referred to as Identity Providers (IdP). While this shifts the focus and responsibility of managing your users’ data to another organization, implementing this strategy brings several tradeoffs: You don’t have direct access to user data within your own systems. You can’t perform secondary actions when a user changes their data in some way. Any API calls where the user’s info is used would require you to call the IdP, making the responses take longer. In this article, you’ll learn how to address each of these issues using webhooks, a pattern where the IdP can send an HTTP call to your API to inform you of any changes made on their end. To do this, you’ll be using a combination of Clerk, Netlify, and PlanetScale. For the demo, we’ll be using Orbytal.ink, an open-source “link in …

[Read more]
How to batch INSERT statements with MySQL and Hibernate

Introduction In this article, we are going to see how we can batch INSERT statements when using MySQL and Hibernate. While Hibernate has long supported automated JDBC batch inserts, this feature doesn’t work when using the IDENTITY identifier generator strategy. Unfortunately, MySQL doesn’t support SEQUENCE objects, so using IDENTITY is the only reasonable option. Therefore, I’m going to show you a technique you can use to get Hibernate batch INSERT statements for entities that use the IDENTITY generator. Default batch INSERT with MySQL and Hibernate Let’s say we have created the following... Read More

The post How to batch INSERT statements with MySQL and Hibernate appeared first on Vlad Mihalcea.

Developer Interview with Kyle Galbraith – OpenLampTech Repost

OpenLampTech continues to publish stellar content and be a sounding board for developers. I have recently published another fantastic developer interview in the publication. Don’t miss this valuable content.

The Newsletter for PHP and MySQL Developers

Receive a copy of my ebook, “10 MySQL Tips For Everyone”, absolutely free when you subscribe to the OpenLampTech newsletter.

Read this developer interview and more over on OpenLampTech. Subscribe for free today and support the community.

Thank you for reading this post. Please share it with someone else who would enjoy it as well.

[Read more]
Simple Example of MySQL Date Comparison

This tutorial helps to understand MySQL Date Comparison with examples. MySQL offers a rich set of functions and operators to handle date and time data. We’ll go through working with dates in date comparison. There are a number of conditions in web applications where we need to to filter, sort, and manipulate data based on […]

The post Simple Example of MySQL Date Comparison appeared first on Phpflow.com.

Introducing Bulk Ingest Functionality in MySQL HeatWave on AWS

Introducing Bulk Ingest Functionality in MySQL HeatWave on AWS

Using CLONE INSTANCE With DATA DIRECTORY on Replicas With Data

This blog post discusses using the [crayon-659c2fe27b13a472295750-i/]  command with the safety option [crayon-659c2fe27b141470126814-i/]  when you do not have enough disk space to store two datasets.In my previous blog post on the [crayon-659c2fe27b142478330007-i/]  command, The MySQL Clone Plugin Is Not Your Backup, I mentioned that using the option [crayon-659c2fe27b143176725038-i/]  helps to avoid situations where you need to re-initialize […]

Read column names from headers in data files with MySQL HeatWave Lakehouse

In this blog post we will see how to use MySQL HeatWave Lakehouse to load data using MySQL Autopilot and have it automatically extract the header row to use as column names in the generated tables.

PHP: MySQL Insert into if not exists

in this article, We’ll learn “INSERT INTO IF NOT EXISTS” with examples. We’ll also provide examples demonstrating its effective implementation. We will cover both core PHP and Laravel approaches. This allows you to add data to a table only if a matching record does not already exist. INSERT INTO MySQL IF NOT EXISTS Let’s demonstrate […]

The post PHP: MySQL Insert into if not exists appeared first on Phpflow.com.

Debugging MySQL Core File in Visual Studio Code

Visual Studio Code (VS) supports memory dump debugging via C/C++ extension: https://code.visualstudio.com/docs/cpp/cpp-debug#_memory-dump-debugging. When MySQL generates a core file, the VS code simplifies the process of debugging. This blog will discuss how to debug the core file in VS code.Installing c/c++ extensionWe need to install the c/c++ extension. Here are the instructions for doing so. In […]

Showing entries 766 to 775 of 44097
« 10 Newer Entries | 10 Older Entries »