Need help with winserver2016 cacti installation

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Moderators, Developers

Post Reply
Author
Message
ragingpotato
Posts: 3
Joined: Wed Feb 20, 2019 10:40 pm

Need help with winserver2016 cacti installation

#1 Post by ragingpotato » Thu May 02, 2019 10:11 pm

I'm having this error when I access cacti on my localhost:

FATAL: Connection to Cacti database failed. Please ensure:

the PHP MySQL module is installed and enabled.
the database is running.
the credentials in config.php are valid.

When I checked on the logs, I found this:

[Install] MySQL Server 5.7.25 X64...................done!
Product installations done.

Starting product configurations ...

Configuring MySQL Server 5.7.25
Writing configuration file - Error!
Configuration of MySQL Server 5.7.25 has completed unsuccessfully! (Check log for more details)
Finished configuring all selected products.
Configuring MySQL...
Stopping MySQL...
MySQL Stopped 0
Writing my.ini...
Starting MySQL...
MySQL Started 0
Installing Cacti DB
Output folder: C:\Users\ADMINI~1\AppData\Local\Temp\2\nsd62BC.tmp
Extract: timezone_posix.sql... 100%
Installing timezone_posix.sql
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
Return value: 1
Installing cacti.sql
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
You can check this by doing 'telnet localhost 3306'
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
Return value: 1
Creating Cacti DB User
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

I used 1.2.2, the all in one installation package.

netniV
Cacti Guru User
Posts: 3025
Joined: Sun Aug 27, 2017 12:05 am

Re: Need help with winserver2016 cacti installation

#2 Post by netniV » Fri May 03, 2019 5:10 am

I believe there was an issue with the MySQL web installation. Try the 1.2.3 download.

Post Reply