Blog

Page 373 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Suppress warning messages using mysql from within Terminal, but password written in bash script
mysqlshell

Suppress warning messages using mysql from within Terminal, but password written in bash script

Published on September 2, 2023

# How to Suppress Warning Messages in MySQL when Using Password from a Bash Script Are you tired of seeing those annoying warning messages in your Terminal when running a MySQL command using a password stored in a bash script? šŸ™„ We've got you covered! In

Cover Image for How to get UTF-8 working in Java webapps?
javamysql

How to get UTF-8 working in Java webapps?

Published on September 2, 2023

šŸ”„šŸŒ How to Get UTF-8 Working in Java Webapps: A Simple Guide šŸŒšŸ”„ So, you're facing an issue with getting UTF-8 working in your Java webapp? No worries, we've got your back! šŸ™Œ First things first, let's address the common issues you might encounter: 1ļø

Cover Image for Cast from VARCHAR to INT - MySQL
mysql

Cast from VARCHAR to INT - MySQL

Published on September 2, 2023

# Casting from VARCHAR to INT in MySQL: The Ultimate Guide! šŸš€šŸ”¢ Are you struggling to cast a `VARCHAR` column to an `INT` in MySQL? Don't worry, you're not alone! šŸ˜… In this guide, we'll address this common issue and provide you with easy solutions to ge

Cover Image for How to avoid MySQL "Deadlock found when trying to get lock; try restarting transaction"
mysql

How to avoid MySQL "Deadlock found when trying to get lock; try restarting transaction"

Published on September 2, 2023

# How to Avoid MySQL "Deadlock found when trying to get lock; try restarting transaction" Having a website with online users can be exciting, but it can also lead to some challenges, like dealing with deadlocks in your MySQL database. If you've ever encou

Cover Image for Dump only the data with mysqldump without any table information?
mysql

Dump only the data with mysqldump without any table information?

Published on September 2, 2023

--- title: Dumping only data with mysqldump description: Learn how to use mysqldump to dump only data from your MySQL database without any table information. --- # Dumping only data with mysqldump šŸ—‚ļøšŸ” Are you looking to dump only the data from your M

Cover Image for Difference Between Schema / Database in MySQL
mysql

Difference Between Schema / Database in MySQL

Published on September 2, 2023

## Schema vs Database in MySQL: Demystifying the Difference Have you ever found yourself scratching your head and wondering about the difference between a schema and a database in MySQL? It's a common confusion, especially for those who have experience wi

Cover Image for How to set initial value and auto increment in MySQL?
mysql

How to set initial value and auto increment in MySQL?

Published on September 2, 2023

# How to Set Initial Value and Auto Increment in MySQL? So, you want to set an initial value for an "id" column in a MySQL table that starts from 1001? And you also want to insert data into the table without specifying the initial value for the id column?

Cover Image for What does SQL clause "GROUP BY 1" mean?
group-bymysql

What does SQL clause "GROUP BY 1" mean?

Published on September 2, 2023

# Understanding the SQL Clause "GROUP BY 1" šŸ“ **Introduction** Imagine receiving a SQL query where the `GROUP BY` clause is stated as `GROUP BY 1`. šŸ¤” It might look like a typo at first glance, as no column is assigned the alias `1`. But is it really? In

Cover Image for MySQL with Node.js
mysqlnode.js

MySQL with Node.js

Published on September 2, 2023

# šŸ“ How to Use MySQL with Node.js: A Guide for Web Developers šŸ’» If you're a web developer, chances are you're familiar with MySQL, a powerful open-source relational database management system. However, if you've recently started diving into Node.js, you

Blog | Matheus Mello