High-Availability MySQL Dual-Master Replication with Keepalived

This guide outlines the implementation of a highly available MySQL dual-master replication cluster protected by Keepalived for automatic VIP failover. The setup ensures continuous database service despite node failures. Prerequisites Two Linux servers: 192.168.199.49 (Node A) and 192.168.199.50 (Node B) Shared virtual IP (VIP): 192.168.199.52 ...

Posted on Sat, 20 Jun 2026 16:44:53 +0000 by thefollower

Ajax Data Scraping and MySQL Storage Implementation

Practical Ajax Data Scraping and MySQL Integration Target Data Extraction Extract movie details including title, categories, duration, release location/date, description, and rating from Scrape | Movie pages, then store in MySQL database. Ajax Request Analysis By inspecting network requests from the target website, we identify the structured da ...

Posted on Fri, 19 Jun 2026 18:01:01 +0000 by citricsquid

Fundamental Database Operations for MySQL

Connecting and Managing Sessions -- Connect using full parameters mysql -h 127.0.0.1 -P 3306 -u root -p -- Short form when connecting locally mysql -u root -p -- -h : target host address (IP) -- -P : TCP port number -- -u : username for authentication -- -p : prompts for password if none provided inline -- Discard current malformed statement b ...

Posted on Fri, 19 Jun 2026 17:31:47 +0000 by dabigchz

Integrating SQL and SQLite Databases in Unity Projects

Database Setup This guide covers connecting Unity applications to both SQL and SQLite databases using Navicat as the database management tool. Preparing SQL Database Create your SQL database with the required tables. Modify database names, table structures, and credentials according to your project needs. Preparing SQLite Database SQLite databa ...

Posted on Fri, 19 Jun 2026 16:54:02 +0000 by Impact

MySQL Fundamentals: Installation, Database Management, and Core Operations

Introduction to Databases A database is essentially a repository for storing and organizing data. In contrast to manual file management, database management systems (DBMS) provide a structured way to handle data persistence and retrieval through specialized commands. Popular database management systems include MySQL, Oracle, SQLite, Access, and ...

Posted on Thu, 18 Jun 2026 16:16:11 +0000 by RockinPurdy

Implementing Entity Framework Code First with MySQL in ASP.NET MVC

Project Dependencies and Setup To integrate MySQL with Entity Framework Code First in an MVC environment, specific NuGet packages are required. The essential libraries include the core Entity Framework package, the MySQL data provider, and the MySQL Entity Framework provider. If the development environment restricts internet access, these assem ...

Posted on Wed, 17 Jun 2026 18:21:54 +0000 by michaelfn

Mastering MySQL: Storage Engines, Virtual Tables, Automated Actions, Stored Routines, User Management, and Indexing Strategies

MySQL Storage Engines Database storage engines define how data is physically stored, indexed, and retrieved from disk or memory. In MySQL, unlike many other relational database systems that offer a single engine, you can select different storage engines for different tables based on specific application requirements, such as transaction support ...

Posted on Wed, 17 Jun 2026 17:42:40 +0000 by padiwak

Comprehensive Guide to MySQL Database Management and Optimization

MySQL Storage Engines: InnoDB vs. MyISAM MySQL offers various storage engines, with InnoDB and MyISAM being the most prominent. Choosing the right engine is critical for system performance and data integrity. InnoDB Engine Since MySQL 5.5, InnoDB has been the default engine due to its robust feature set designed for high-concurrency environment ...

Posted on Wed, 17 Jun 2026 16:55:28 +0000 by neveriwas

Configuring SaltStack Job Results Storage in MySQL

MySQL Client Installation Install the MySQL Python client package: yum install MySQL-python -y Master Configuration Edit /etc/salt/master to enable MySQL job caching: master_job_cache: mysql mysql.host: '10.240.17.103' mysql.user: 'salt' mysql.pass: 'salt' mysql.db: 'salt' mysql.port: 3306 MySQL Server Setup Install and configure MySQL server ...

Posted on Tue, 16 Jun 2026 17:30:23 +0000 by Hepp

Internals of MySQL Locking Mechanisms and Row-Level Lock Algorithms

MySQL Lock Granularity and Types In MySQL, locking mechanisms are categorized by their scope into three primary types: global locks, table-level locks, and row-level locks. Global Locking Applying a global lock places the entire database instance into a read-only state. This is historically used for logical full-database backups to ensure consi ...

Posted on Tue, 16 Jun 2026 17:05:27 +0000 by rusbb