Incompatibilities with MySQL Version:MySQL 5.1.46

Support for the Plugin Architecture

Moderators: Developers, Moderators

User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Incompatibilities with MySQL Version:MySQL 5.1.46

Post by zoemu »

Are there any incompatibilities on the last version of Mysql in comparision with previous ones....

a couple off samples:

Code: Select all


Engine=MyISAM ann no longer TYPE = MyISAM,

you cannot specify default ' ' for text fields
.....`Description` text NOT NULL default '';

instead ....`Description` text NOT NULL;
the above mention did cause errors in my table creation un less I changed them
Last edited by zoemu on Thu Jul 29, 2010 12:27 pm, edited 1 time in total.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This is which version of cacti? I can't find TEXT with a default in 087g code
R.
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

Cacti Version 0.8.7g
Plugin Architecture 2.8
Poller Type Cactid v
Server Info Windows NT 5.1
Web Server Microsoft-IIS/5.1
PHP Version 5.2.13


I have a problem with a few plugins at time of installation
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please post the lines of cacti.sql, that show a data type TEXT using a default value. I can't find any on current SVN of that branch
R.
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

I was not refering to Cacti or PIA specifically, but to a few plugins that I was able to correct manually . Nothing too bad!...

My only question was that, if there was some or a few changes to the syntax in the latest version of MySql

Thanks

LA
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I have been using MySQL 5.1.48 for a while on Cacti 0.8.7g. No issues.

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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Roddie, can you please create a bug report.

Thanks,

Larry
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?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Fixed, but for 088 only.
Will still have to search the plugins ...
R.
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

also, AS I Posted Originally, the following does not seems to valid for text fields anymore

.....`Description` text NOT NULL default '';

instead ....`Description` text NOT NULL;
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

roddie wrote:Thanks, gandalf.

The cacti.sql one was an easy one to spot, but I imagine the plugins will be more of a pain.
Done. But against trunk only. I won't publish any plugin that I'm not (co-)author of.
R.
Last edited by gandalf on Thu Jul 29, 2010 12:38 pm, edited 1 time in total.
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Post by zoemu »

I've got them on my 5.1.46-community on a couple plugins...

LA
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

roddie wrote:Mac Track's database_upgrade.php is still throwing a ton of errors, too. Yuck.
Please report in the MACTRACK forum; better: file a bug against that plugin.
R.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

zoemu wrote:also, AS I Posted Originally, the following does not seems to valid for text fields anymore

.....`Description` text NOT NULL default '';

instead ....`Description` text NOT NULL;
Also, as I posted originally:
gandalf wrote:Please post the lines of cacti.sql, that show a data type TEXT using a default value. I can't find any on current SVN of that branch
R.
R. :wink:
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

zoemu wrote:I've got them on my 5.1.46-community on a couple plugins...

LA
them??? WHich plugins? If you want us/me to fix, please post precise pointers; better: file a bug report against each plugin seperately (helps tracking them)
R.
edkv
Posts: 1
Joined: Tue Aug 23, 2011 10:15 pm

Re: Incompatibilities with MySQL Version:MySQL 5.1.46

Post by edkv »

sed -i 's/TYPE/ENGINE/g' cacti.sql
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests