cacti.sql importation problem

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

Moderators: Developers, Moderators

Post Reply
xphildar
Posts: 2
Joined: Tue Oct 11, 2005 5:06 am

cacti.sql importation problem

Post by xphildar »

Hello, i'm new to cacti and french so excuse me for stupid question and my bad english :wink:

I installed cacti one time on a Windows XP with apache and mysql and got no problem but or some reason i had to re install my OS i went for Windows 2000 server SP4 with IIS 5 and other stuff for cacti...

i succesfully create my cacti base but when i try to import the cacti.sql into this base with the command :

msql --user=cactiuser --password cacti < c:\inetpub\wwwroot\cacti\cacti.sql

I got this error message

ERROR 1264 (22003) at line 1856: Out of range value adjusted for column 'availability' at row 1

i dont want to modify this files cause i sure it works

If someone have answer for me it will sure make me happy :D

i'm running cacti-0.8.6g
(maybe trying to run is better -_- )

thank you
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please use mysql control center or phpMyAdmin to change the size of the host tables definitions for the following fields:

cur_time
avg_time
min_time
max_time

Change them to DECIMAL(10,5) and the problem will go away. Please do not use MySQL 5.x as it does not work with Cacti. The client may however work in Cactid.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
xphildar
Posts: 2
Joined: Tue Oct 11, 2005 5:06 am

Post by xphildar »

thank you , i got it work with your advice,

i got an another problem, graph display but no value inside...

anyway i will look around in the forum there some thread talking about this problem ^^
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests