Category: Linux

How to disable MSI laptop glow (Mystic Light) in Linux (without 3rd party software and without installing services)

Contents 1. Managing SteelSeries on Linux 2. How to disable backlighting for MSI laptops 3. OpenRGB to disable the SteelSeries Mystic Light 4. Disabling Mystic Light in Linux without third-party tools (using udev rules) 4.1 Hardware identification 4.2 Manually stopping the Mystic Light 4.2.1 Enabling auto suspend mode 4.2.2 Unbinding the driver 4.3 Creating a udev rule to keep Mystic...

Why GeForce RTX 50 series graphics card doesn't work in Linux (SOLVED)

Contents Blackwell architecture graphics cards in Linux Signs that the NVIDIA graphics card does not work in Linux Why NVIDIA GeForce RTX 5090, 5080, 5070, 5060 does not work in Linux How to install the NVIDIA GeForce RTX 5090, 5080, 5070, 5060 driver on Linux The NVIDIA Open driver is installed, but NVIDIA GeForce RTX 5090, 5080, 5070, 5060 does...

What is NVIDIA Open and should Linux users switch to the new driver

Contents 1. What is NVIDIA Open 2. The main difference between NVIDIA Open and NVIDIA Proprietary 3. How to install NVIDIA Open 3.1 How to install NVIDIA Open on Arch Linux (Manjaro, BlackArch) 3.2 How to install NVIDIA Open on Debian, Kali Linux, Ubuntu, Linux Mint 4. How to check if you are using NVIDIA Open or NVIDIA Proprietary 1....

How to insert HTML into PHP script using conditions (without including HTML in PHP code)

Contents 1. Is it possible to mix HTML and PHP code in one file 2. How to use conditions in PHP to output HTML 3. When to use conditions in PHP to output HTML 4. Outputting HTML fragments outside PHP based on conditions in other control statements Conclusion See also 1. Is it possible to mix HTML and PHP code...

Should I close MySQL connections with $mysqli->close() in PHP scripts. Should I use $result->free()

Contents What are $mysqli->close() and $result->free() used for in PHP Is it necessary to close connections to MySQL / MariaDB and clear the result of the SQL query? When using $mysqli->close() and $result->free() will NOT give tangible results When to use $mysqli->close() and $result->free() Is it possible to close the MySQL database connection before completing the processing of query results...

How to list all current connections to MySQL and MariaDB databases

Contents List of running operations and processes on MySQL and MariaDB server How to view MySQL and MariaDB processes in real time What do the fields in the SHOW PROCESSLIST output mean How to display MySQL and MariaDB process data row by row instead of in a table Alternative syntax for SHOW FULL PROCESSLIST How to display only certain columns...

PHP Fatal error: Uncaught mysqli_sql_exception: Too many connections in (SOLVED)

Contents Error “Uncaught mysqli_sql_exception: Too many connections” Why does the “Too many connections” error occur How to temporarily increase the maximum number of connections to MySQL / MariaDB How to permanently increase the maximum number of connections to MySQL / MariaDB What is the maximum number of connections that can be established for MySQL and MariaDB 1. Error “Uncaught mysqli_sql_exception:...

How to transfer a database between DBMS servers without creating a database dump file (MySQL and MariaDB)

Contents Is it possible to transfer a database from one MySQL / MariaDB server to another without creating an intermediate file How to transfer a database from one server to another How to transfer a database from one MySQL/MariaDB instance to another when both MySQL/MariaDB instances are running on the same machine How to transfer a database from one MySQL/MariaDB...

How to run multiple MySQL/MariaDB server instances on one machine

Contents 1. Why you might want to run multiple MySQL or MariaDB servers on one computer 2. What you need to run multiple MySQL or MariaDB servers on one computer 3. Differences between MySQL and MariaDB when starting a second DBMS instance 4. Correcting the mariadb@.service file 5. How to configure a second MySQL or MariaDB instance 5.1 How to...

Error: failed retrieving file 'community.db' (SOLVED)

Starting from March 2025, during a normal system update, for example, using the following command: sudo pacman -Syu The error may appear: error: failed retrieving file 'community.db' from mirror.cyberbits.asia : The requested URL returned error: 404 In fact, the error is not critical and you can continue the update. However, let's figure out why this error occurs and how to...
Loading...
X