Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Support for the Plugin Architecture
Moderators: Developers , Moderators
zoemu
Cacti User
Posts: 287 Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada
Post
by zoemu » Fri Jul 23, 2010 2:11 pm
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.
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Fri Jul 23, 2010 3:17 pm
This is which version of cacti? I can't find TEXT with a default in 087g code
R.
zoemu
Cacti User
Posts: 287 Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada
Post
by zoemu » Fri Jul 23, 2010 3:38 pm
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
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Fri Jul 23, 2010 3:55 pm
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.
zoemu
Cacti User
Posts: 287 Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada
Post
by zoemu » Fri Jul 23, 2010 4:49 pm
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
TheWitness
Developer
Posts: 17047 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Fri Jul 23, 2010 5:07 pm
I have been using MySQL 5.1.48 for a while on Cacti 0.8.7g. No issues.
TheWitness
TheWitness
Developer
Posts: 17047 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Thu Jul 29, 2010 10:10 am
Roddie, can you please create a bug report.
Thanks,
Larry
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Thu Jul 29, 2010 12:10 pm
Fixed, but for 088 only.
Will still have to search the plugins ...
R.
zoemu
Cacti User
Posts: 287 Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada
Post
by zoemu » Thu Jul 29, 2010 12:28 pm
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;
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Thu Jul 29, 2010 12:33 pm
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.
zoemu
Cacti User
Posts: 287 Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada
Post
by zoemu » Thu Jul 29, 2010 12:34 pm
I've got them on my 5.1.46-community on a couple plugins...
LA
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Thu Jul 29, 2010 12:34 pm
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.
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Thu Jul 29, 2010 12:35 pm
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.
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Thu Jul 29, 2010 12:36 pm
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
Post
by edkv » Tue Aug 23, 2011 10:18 pm
sed -i 's/TYPE/ENGINE/g' cacti.sql
Users browsing this forum: No registered users and 2 guests