Hm ich weiss nicht ob ich was falsch verstanden habe.
Also im Plone kann man doch solche connections machen.
Z Gadfly Database Connection
Damit hab ich eine erstellt aber das ist wohl nur so eine Interne, also da steht keine MySQL Datenbank von mir dahint.
Die Tabellen versucht Plone wohl selber in sich zu erstellen ?!
Aber aufjedenfall, kann man auch die Tabellen auch ganz normale SQL Statements los lassen usw.
Könnte mir das mal jemand etwas genauer erklären, da ich kaum material darüber finde!
Code: Alles auswählen
Site Error
An error was encountered while publishing this resource.
SyntaxError
Sorry, a site error occurred.
Traceback (innermost last):
Module ZPublisher.Publish, line 194, in publish_module_standard
Module Products.PlacelessTranslationService.PatchStringIO, line 34, in new_publish
Module ZPublisher.Publish, line 146, in publish
Module Zope2.App.startup, line 222, in zpublisher_exception_hook
Module ZPublisher.Publish, line 115, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 41, in call_object
Module Shared.DC.ZRDB.DA, line 341, in manage_test
Module Shared.DC.ZRDB.DA, line 318, in manage_test
Module Shared.DC.ZRDB.DA, line 455, in __call__
<SQL at /Plone/portal_skins/custom/newDB/create>
Module Products.ZGadflyDA.db, line 108, in query
Module Products.ZGadflyDA.gadfly.gadfly, line 322, in execute
Module Products.ZGadflyDA.gadfly.kjParser, line 1185, in DoParse1
Module Products.ZGadflyDA.gadfly.kjParser, line 1177, in DoParse
Module Products.ZGadflyDA.gadfly.kjParser, line 842, in GO
Module Products.ZGadflyDA.gadfly.kjParser, line 770, in DoOneReduction
Module Products.ZGadflyDA.gadfly.kjParser, line 826, in ParseError
SyntaxError: unexpected token sequence.near :: 'LE name ( \n id'*' INT NOT NULL A' ******************************* current state = 79 expects: '/', 'AND', 'ORDER', 'INTERSECT', '=', 'DESC', '*', 'FROM', 'ASC', '*', 'INTEGER', 'EXCEPT', 'BETWEEN', '<', 'WHERE', ')', 'GROUP', '-', 'NOT', ';', 'UNION', 'FLOAT', 'VARCHAR', ',', 'HAVING', '>', 'IN', '+', 'OR', 'AS', ('nomatch1',) current token = ((-8, 'user_defined_name'), 'INT') (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: '@@plone')
--------------------------------------------------------------------------------
Troubleshooting Suggestions
The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to error log.
If the error persists please contact the site maintainer. Thank you for your patience.