JIYIK CN >

Current Location:Home > Learning > DATABASE > MySQL >

All

Get the last inserted ID using PHP MySQLi function

Publish Date:2025/04/22 Author:JIYIK Category:MySQL

This article briefly introduces the PHP mysqli() function and demonstrates how to use it to get the last inserted ID from a MySQL database. PHP mysqli() Function It is an extended version of the MySQL driver called mysqli and is typically u...

Full

MySQL Error Server PID File Could Not Be Found Solution

Publish Date:2025/04/22 Author:JIYIK Category:MySQL

In this article, we will study about the Error! Error Server PID File Could Not Be Found! in MySQL and its solution with full explanation. MySQL PID file The file that contains the process identification number or process ID of a running My...

Full

MySQL fix Data Is Truncated for a Column error

Publish Date:2025/04/22 Author:JIYIK Category:MySQL

This article describes possible causes and solutions for the MySQL error Data is truncated for a column . Fix data truncated due to column error in MySQL Here, we will discuss the possible causes and solutions to eliminate MySQL data trunca...

Full

Changing the connection timeout in MySQL

Publish Date:2025/04/22 Author:JIYIK Category:MySQL

We are learning how to change the connection timeout in MySQL using Linux (Ubuntu 20.04) and Windows operating systems. Changing the connection timeout in MySQL Sometimes you keep losing connection to the MySQL server because the connect_ti...

Full

Selecting multiple values using WHERE in MySQL

Publish Date:2025/04/22 Author:JIYIK Category:MySQL

This article is about using MySQL query to get data from a specific table or relation that satisfies a specific condition. To do this, the WHERE clause is used in the SQL query. WHERE clause in SQL query WHERE The clause specifies the condi...

Full

Calculating Percentages in MySQL

Publish Date:2025/04/22 Author:JIYIK Category:MySQL

We will use one or more columns to calculate percentages in MySQL. There are different ways to do this, and for each method we will use an example table. Calculate percentage using a column in MySQL We have a table called sales where ID, Re...

Full

Compare only MySQL timestamp dates to date parameters

Publish Date:2025/04/22 Author:JIYIK Category:MySQL

In this article we will use the DATE() , CAST() , and CONVERT() functions to compare MySQL timestamp dates with only the date parameter. DATE() vs. CAST() vs. CONVERT() in MySQL Below is a brief description of each function. You can also fi...

Full

Zerofill usage, advantages and alternatives in MySQL

Publish Date:2025/04/22 Author:JIYIK Category:MySQL

In this article we will understand the uses, advantages and alternatives of ZEROFILL attribute in MySQL. Use and benefits of the ZEROFILL attribute in MySQL The benefit of using the ZEROFILL attribute is that it has nothing to do with input...

Full

Changing max_allowed_packet Size in MySQL Server

Publish Date:2025/04/22 Author:JIYIK Category:MySQL

This article explains how to change the max_allowed_packet size in MySQL server. To understand this, we will use two operating systems, Windows 10 and Linux (Ubuntu). Changing max_allowed_packet Size in MySQL Server If we try to upload a fi...

Full

Changing MySQL root password on Mac

Publish Date:2025/04/21 Author:JIYIK Category:MySQL

This article teaches you how to change the MySQL user password on OS X. root We will be using XAMPP so that you can change the password using the MySQL console. Installing XAMPP for OSX First, download and install XAMPP for OSX from Apache...

Full

Generate a random and unique string in MySQL

Publish Date:2025/04/21 Author:JIYIK Category:MySQL

Today, we will learn to use various functions in MySQL to generate random and unique strings. These functions include MD5() , RAND() , , SUBSTR() and UUID() . There is no inbuilt method to generate random string in MySQL, but there are many...

Full

Loop PHP MySQLi Get Array Function

Publish Date:2025/04/21 Author:JIYIK Category:MySQL

MySQLi fetch function is used to access data from the database server. After fetching the data, you can also iterate over it MySQLi with queries. In this article, we will see mysqli_fetch_array() the use of functions and methods to iterate...

Full

MySQL using LIKE in case insensitive search

Publish Date:2025/04/21 Author:JIYIK Category:MySQL

This tutorial article will show you how to use LIKE the operator to search a column. We will show you how to use it correctly to include all results that meet certain criteria, regardless of whether the value is uppercase or lowercase. LIKE...

Full

Deleting using Join in MySQL

Publish Date:2025/04/21 Author:JIYIK Category:MySQL

This tutorial article will show you how to use MySQL JOIN methods to delete data from multiple tables. This is useful when you are simultaneously deleting records from one table that are related to a specific record in another table. DELETE...

Full

INTERSECT Operator in MySQL

Publish Date:2025/04/21 Author:JIYIK Category:MySQL

This article will help you understand INTERSECT the operator. Although MySQL does not support INTERSECT and MINUS / EXCEPT , there are other ways to simulate this functionality. We will see INTERSECT what is , its benefits, and learn variou...

Full

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Hottest

Tags

Scan the Code
Easier Access Tutorial