Hello,
I have Cacti 0.8.8a running a fedora 16 x64 server, using other server as mysql db. Recently I've installed mysql-proxy, to have HA on the mysql servers. All sites hosted on that server, using mysql-proxy are working fine (except cacti).
Cacti is not working with mysql. I've tried 2 minor sql configurations with different results:
1 - If I use the following configuration (cacti/include/config.php):
$database_hostname = "127.0.0.1";
$database_port = "3305";
when I try to open cacti via browser, I got the following error:
FATAL: Cannot connect to MySQL server on '127.0.0.1'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
2- - If I use the following configuration (cacti/include/config.php):
$database_hostname = "127.0.0.1:3305";
#$database_port = "3305";
Cacti opens OK, I can loggin to cacti, but data from servers is not updated
Anybody can help?
Thanks
cacti and mysql-proxy
Moderators: Developers, Moderators
Re: cacti and mysql-proxy
Are you sure that mysql are runing on tcp 3305 and not in tcp 3306?
Do a "telnet 127.0.0.1 3305"
Mysql listen at port 3306 by default.
Do a "telnet 127.0.0.1 3305"
Mysql listen at port 3306 by default.
Re: cacti and mysql-proxy
Hello Cacti team,
I've also the same problem with other versions of cacti. My actual version is 0.8.8c.
Can't understand why cacti does not work with mysql-proxy at port 3305.
Could this be a next release ou patch feature?
This is important for mysql HA architectures.
Hope you can help on this.
Best regards,
Nuno Carrilho
I've also the same problem with other versions of cacti. My actual version is 0.8.8c.
Can't understand why cacti does not work with mysql-proxy at port 3305.
Could this be a next release ou patch feature?
This is important for mysql HA architectures.
Hope you can help on this.
Best regards,
Nuno Carrilho
Re: cacti and mysql-proxy
Hello Cacti team,
Just to inform that I upgraded today cacti 0.8.8f to 0.8.8h.
Cacti DOES now work with mysql-proxy at 127.0.0.1 port 3305.
Thanks.
Just to inform that I upgraded today cacti 0.8.8f to 0.8.8h.
Cacti DOES now work with mysql-proxy at 127.0.0.1 port 3305.
Thanks.
Who is online
Users browsing this forum: No registered users and 7 guests