import cacti.sql to mysql error

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

Moderators: Developers, Moderators

Post Reply
andy2002
Posts: 2
Joined: Mon Jun 26, 2006 9:47 am

import cacti.sql to mysql error

Post by andy2002 »

Sir
When I import cacti.sql into mysql,it shows"ERROR 1264 (22003) at line 1857: Out of range value adjusted for column 'availability' at row 1",can you help me?

thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Read http://forums.cacti.net/viewtopic.php?t=11747

After following all those instructions, you still have the same problem?
andy2002
Posts: 2
Joined: Mon Jun 26, 2006 9:47 am

Post by andy2002 »

Sir
Thank your help,but I don't understand how to install "mysqli extension"?

Thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Honestly, that's really not needed to fix the error you've got.

1) make sure mysql isnt in sql-strict mode.
2) delete the old cacti database folder
3) patch cacti
4) THEN import cacti.sql
lassep
Posts: 4
Joined: Fri Jul 21, 2006 4:23 am
Location: Sweden

Post by lassep »

BSOD2600 wrote:Honestly, that's really not needed to fix the error you've got.

1) make sure mysql isnt in sql-strict mode.
2) delete the old cacti database folder
3) patch cacti
4) THEN import cacti.sql
I changed the language setting on SQL to utf8 and then the cacti DB could be created without error

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

Post by TheWitness »

There is also a patched cacti.sql at http://www.cacti.net/patches

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest