HoganHost blog

[email protected]

Sql

How to restrict the number of MySQL connections by users in Cpanel using SSh

Some server administrators want to restrict the number of user connections to MySQL. There needs to be a consideration of how busy a site may be and how many MySQL connections are needed. A busier site may need 25 connections and ones less active may only need 5. Just use this setting to be able …

How to restrict the number of MySQL connections by users in Cpanel using SSh Read More »

How to Edit the MySQL my.cnf File using Ssh

  In this guide, we’ll show you how to make changes to your database settings in the MySQL my.cnf file. For example, you may need to increase the number of max_connections or the query_cache_size value for your server. To do this, you simply log in the server via SSH and edit the my.cnf file using an editor such as Nano. This article will explain the …

How to Edit the MySQL my.cnf File using Ssh Read More »

How to install MySQL Governor

                  Introduction MySQL governor is provided by CloudLinux and allows the system administrator to set LVE limits for MySQL users. Procedure 1. Install the mysql-governor package: yum install governor-mysql 2. Next the MySQL or MariaDB version will need to be selected: /usr/share/lve/dbgovernor/mysqlgovernor.py –mysql-version=mariadbXX mariadbXX  will be replaced with …

How to install MySQL Governor Read More »

How to Disable ONLY_FULL_GROUP_BY in MySQL Using SSH

                  MySQL’s ONLY_FULL_GROUP_BY mode is a SQL mode that, when enabled, requires all columns in the SELECT clause to be either aggregated or included in the GROUP BY clause. While this mode helps enforce strict SQL standards and prevents potentially ambiguous queries, it can sometimes interfere with …

How to Disable ONLY_FULL_GROUP_BY in MySQL Using SSH Read More »

how to monitor your Mysql process using ssh

Holla we will work you through on how to monitor your mysql process using ssh command remember you need a root priviledge of your vps or dedicated server to perfrom this action. Why Monitor MySQL Usage? Understanding MySQL usage provides several advantages: Performance Optimization: Identifying resource-intensive queries or operations helps optimize database performance. Resource Allocation: …

how to monitor your Mysql process using ssh Read More »

Increase the Upload Size for MySQL Database in cPanel with phpMyAdmin

cPanel/WHM Server imposes a limit on the size of importing a WordPress MySQL database that can be imported into phpMyAdmin. The default size is 50MB which is set in the cPanel/WHM settings. You can change the settings either in cPanel or separately in WHM depending on what you have available. Failing that there are other ways …

Increase the Upload Size for MySQL Database in cPanel with phpMyAdmin Read More »