JIYIK CN >

Current Location:Home > Learning >

All

PHP performs CRUD operations on MySQL database

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

PHP performs CRUD operations on MySQL database

In this article, we will explore how to perform CRUD (Create, Read, Update, and Delete) operations using a MySQL database with PHP. If you want to get hands-on experience with database connections in PHP, this article is a good starting poi...

Full

How to replace a string using MySQL query

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

This is a very naive post, and the only reason for writing it is so that I won't forget the syntax and have to Google MySQL REPLACE the order of the arguments to the _ function again. And then when I try to look it up, I almost always end u...

Full

How to Automate MySQL Database Migrations with Skeema

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

Skeema Is an open source CLI tool that allows us to synchronize MySQL database schemas across multiple hosts. It works on plain SQL files containing CREATE TABLE statements. Database migration is one of the most common challenges during sof...

Full

How to use full-text search in MySQL

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

Full-text search is a database technology that retrieves records even if they do not exactly match our search criteria. This enables rich, natural language searches that feel more familiar. Using full text search to search for "database eng...

Full

MySql: Grant root user permission to log in from any host

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

请注意 , which is not very secure and should only be used on local development boxes where we don't want to set up personal permissions but still need to connect from other machines. To configure this feature, we need to % update the mys...

Full

How to enable MySQL slow query log

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

Unusually slow queries are one of the most common MySQL performance issues. Queries that perform acceptably in development may falter under the pressure of a production workload. Large applications may run hundreds of unique database querie...

Full

How to Change or Set MySQL Root Password

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

For each database, we should set root the or sa password to something other than the default unless we want to get hacked. For mysql, the system administrator user is called root. We will use the mysql mysqladmin utility from the command li...

Full

Speeding up our website using MySQL query cache

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

One of the best ways to speed up your Web application is to enable query caching in your database, which caches frequently used SQL queries in memory so that the next page that makes the same request is almost instantaneous. What makes this...

Full

Switch MySQL to listen on TCP

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

By default, MySQL only allows localhost connections from addresses. The configuration file is usually in /etc/mysql/my.cnf We need to bind-address comment out the line so it looks like this: - #bind-address = 127.0.0.1 + bind-address = 127....

Full

How to support full Unicode in MySQL database

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

Are you using MySQL's utf8 character set in your database ? In this article, I'll explain why you should switch to utf8mb4 , and how to do it. UTF-8 The UTF-8 encoding can represent every symbol in the Unicode character set, ranging from U+...

Full

How to export a CSV file from the MySQL command line

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

How to export a CSV file from the MySQL command line

Comma-separated value files ( CSV ) are a way to transfer data between applications. Databases such as MySQL and spreadsheet software such as Excel both support importing and exporting via CSV , so we can use CSV files to exchange data betw...

Full

MySQL stored procedure details

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

A stored procedure can be thought of as encapsulating a SQL statement that we need to process specially into a function. When needed, we only need to call this function to achieve the desired operation. This process can be called a stored p...

Full

Mysql master-slave replication simple configuration

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

I'm learning about MySQL master-slave replication recently and want to apply it to a project at work. Since I'm new to it, I don't understand it very well, so I can only share how to make a simple configuration. At the beginning, we configu...

Full

Two ways to install mysql-5.5.47 on Linux system and manage mysql

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

We know that there are generally two ways to install software on the Linux system. One is to use rpm or yum to install, which is convenient and fast; the other is to use the compiled source package. Although this method is more troublesome...

Full

Scan to Read All Tech Tutorials

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

Hottest

Tags

Scan the Code
Easier Access Tutorial