How to Install NGINX, PHP & MySQL on Amazon Linux 2023 (Step-by-Step LEMP Guide)

Posted by on Apr 14, 2026 in General, MySQL, Php | No comments yet

Setting up a high-performance web server stack using NGINX, PHP, and MySQL on Amazon Linux 2023 is a popular choice for developers deploying applications on AWS EC2. This complete guide walks you through installing and configuring the LEMP stack (Linux, …

How to Build Lightning-Fast Web Apps: Database Optimization Techniques for MySQL & MongoDB

Posted by on Dec 9, 2025 in MongoDB, MySQL | No comments yet

How to Build Lightning-Fast Web Apps: Database Optimization Techniques for MySQL & MongoDB Most “slow website” complaints are not actually frontend problems. In many real-world projects, the bottleneck lives in the database layer. Whether you’re using MySQL or MongoDB, understanding …

Import CSV File Into MySQL using LOAD DATA INFILE

Posted by on Feb 27, 2015 in General, MySQL, Php | 2 Comments

In this post we are discussing on how to use LOAD DATA INFILE statement to import CSV file into MySQL table. The following statement imports data from c:\tmp\data.csv file into the discounts table. The field of the file is terminated …

Map integer to text string in mysql

Posted by on Mar 18, 2014 in MySQL, Php | No comments yet

We can use the functions CASE .. WHEN … to map integer to text string in mysql The example query is as shown below You can also use the ELSE clause to specify a default, e.g.

Load More