How to create a new User in MySQL

MySQL Workbench Add User

In this MySQL Database tutorial, we will discuss creating a new User in MySQL. We will learn to add users through MySQL Workbench and MySQL command line client. In MySQL we have a root user through which we access our database but many times while working on any project we need to give access to … Read more >>

MySQL CREATE DATABASE: IF NOT EXISTS, utf8mb4 and First User

MySQL create database: SHOW CREATE DATABASE harbor_bakery on MySQL 8.4.9

The MySQL create database command is one line: CREATE DATABASE harbor_bakery;. Add IF NOT EXISTS so a rerun doesn’t fail, and name the character set so the database doesn’t depend on whatever the server default happens to be. What surprised me: CREATE DATABASE Harbor_Bakery failed with ERROR 1007 on my Windows server, though I’d only … Read more >>

How to Create Table in MySQL

How to create table MySQL .

In this tutorial, we will learn how to create a table in MySQL using both the MySQL command line and Workbench approaches, including the best practices with multiple examples. How to Create Table in MySQL In MySQL Database Tables, data are stored in the form of rows and columns, and we use them for both … Read more >>

MySQL vs SQL Server: 8 Differences Tested on the Same Data

MySQL vs SQL Server: SQL Server 2025 rolling back CREATE TABLE inside a transaction

Paste a MySQL LIMIT 3 query into SQL Server and you get Msg 102: Incorrect syntax near ‘LIMIT’. That’s the MySQL vs SQL Server split in one line: the same SQL ideas, a different dialect, different defaults and a different license. My verdict: pick MySQL for a Linux web stack that wants a free GPL … Read more >>

MySQL Tutorial

MySQL tutorial

MySQL is an open-source Relational Database Management System (RDBMS) that utilizes Structured Query Language (SQL). In this comprehensive article, I will describe the core architecture of MySQL, break down foundational Data Definition Language (DDL) and Data Manipulation Language (DML), analyze indexing strategies, and provide a best-practice operational blueprint for your development lifecycle. MySQL Tutorial Architectural: … Read more >>

MySQL Joins

MySQL joins

Mastering MySQL joins is essential for maintaining query optimization. Let’s break down the underlying mechanics of the MySQL join, compare individual join strategies side by side, and map out the exact optimization patterns required to execute relational queries at scale. MySQL Joins Core Mechanics: How the MySQL Query Optimizer Processes Joins Before typing out any … Read more >>

MySQL Data Types: Ranges, Storage and Which One to Use

MySQL data types: DECIMAL vs FLOAT vs DOUBLE rounding test in MySQL 8.4

MySQL data types come in five families: numeric, date and time, string, JSON and spatial. Here’s one table that uses the types you’ll reach for most days: Ten columns, nine different types. You’ll see this table again in each section, or a small scratch table when I need to break something on purpose. Tested on … Read more >>

PostgreSQL Latest Version (18.6): Release, Support and EOL Dates

PostgreSQL latest version 18.6 confirmed with SELECT version() in VS Code

PostgreSQL 18.6 is the newest release you can install on 11/02/2026: major version 18, minor release 18.6, shipped 08/13/2026. That’s the PostgreSQL latest version according to postgresql.org, and it’s what I’d put on any new server today. One query tells you where your own server stands: Mine returned PostgreSQL 18.6 on x86_64-windows, compiled by msvc-19.44.35229, … Read more >>