Modify the default database connection 100. After installation, add the host. rdquo may appear in cacti. FATAL: CannotconnecttoMySQLserveron may be used.
Modify the default database connection 100. After installation, add the host. rdquo may appear in cacti. FATAL: Cannot connect to MySQL server on.
Problems that may occur after Cacti is installed are related to the test:
1. snmp Test
Snmpwalk-c public-v 2c localhost = "The result is normal.
2. Some mysql default installation may cause poller. php connection problems. The solution is to change the mysql. sock path. We use soft connections to achieve this.
Ln-s/tmp/mysql. sock/var/lib/mysql. sock
3. Modify the default database connection 100. After the installation is complete, add the host. "FATAL: Cannot connect to MySQL server on 'localhost' may appear in cacti '. please make sure you have specified a valid MySQL database name in 'include/config. php' "error reported. I had been depressed for a long time, and the configuration was OK. Why couldn't I connect? I logged on to mysql and found that I couldn't log on. I reported that the connection was full. Solution: edit my. cnf sets the maximum connection.
Set-variable = max_connections = 16384
,