Fading Coder

One Final Commit for the Last Sprint

Offline MySQL Server Installation on Kylin Linux

Pre-Installation Preparation First, obtain the MySQL 8.x binary tarball optimized for Linux x86_64 with glibc 2.12+ from an external trusted source. Transfer the compressed archive to a dedicated directory on your Kylin system, such as /usr/local/, using USB, SCP, or other file transfer tools. Extra...

Essential SQL Commands and Syntax for MySQL Database Operations

Genarel SQL Syntax Rules SQL statements can span single or multiple lines, terminating with a semicolon Whitespace and indentation improve readability without affecting execution MySQL is case-insensitive for keywords (though uppercase is conventional) Comment syntax: Single-line: -- comment or # co...

MySQL Command Reference: Key Operations for Developers

Fundamental Concepts Term Description Database A container for organized data, typically a file or set of files. Table A structured list of data of a specific type. Column A single field within a table. Row A single record in a table. Datatype The type of data allowed in a column. Primary Key A colu...

Admissions Promotion Management System Using Java, Spring Boot, and MySQL

Technology Stack The system is developed using Java with the Spring Boot framework. The frontend utilizes JavaScript libraries such as jQuery and Ajax for dynamic interactions. MySQL serves as the backend database for storing all application data. Functional Overview Administrator Features Authentic...

Core Database Concepts and Optimization Techniques

Core Database Concepts and Optimization Techniques
Transactions Transaction Definition and ACID Properties Definition: A sequence of database operations that must either all succeed or all fail, serving as an indivisible unit of work. ACID Properties: Atomicity: All operations within a transaction are completed successfully; otherwise, none are appl...

Oracle Implicit vs Explicit Joins and MySQL One-to-Many Aggregation

In Oracle, the queries SELECT * FROM a, b WHERE a.id = b.id and SELECT * FROM a INNER JOIN b ON a.id = b.id are functionally equivalent. Both produce the same result set by matching rows from tables a and b where the id values are equal. However, they differ in syntax style and clarity. The comma-ba...

Concurrency Control Strategies in MySQL: Pessimistic and Optimistic Locking

Concurrency control mechanisms are essential for maintaining data integrity when multiple transactions attempt to modify shared resources simultaneously. These mechanisms serialize access, ensuring that conflicting operations do not lead to inconsistent states. While read operations generally procee...

MySQL Data Manipulation: From Conditional Updates to Index Optimization

Conditional modifications allow precise control over data changes. To reduce ages for users with four-character usernames: UPDATE user_profiles SET age = age - 3 WHERE handle REGEXP '^.{4}$'; Update only the first three records, or apply ordering before limiting: UPDATE user_profiles SET age = age +...

Working with MySQL C API: Core Functions for Database Interaction

Initializing a MySQL Connection The first step in using the MySQL C API is initializing a connection handle: MYSQL *conn = mysql_init(NULL); This allocates and initializes a MYSQL structure used throughout the session. Establishing a Database Connection After initialization, connect to the database...

Deploying FineBI 6 on openEuler with MySQL 8 and Tomcat 9

System Preparation and Package Updates sudo yum upgrade -y sudo yum install -y vim tar net-tools wget sudo systemctl reboot MySQL 8 Database Configuraton sudo yum install -y https://repo.mysql.com/mysql84-community-release-el9-1.noarch.rpm sudo yum repolist enabled | grep mysql sudo yum install -y m...