edit the file /etc/my.cnf The file should look like this: [mysqld] max_connections=100000 Increase 100,000 to the number you desire. After the setting is…