[FLOW3-general] FLOW3 / MySQL
Thomas Layh
thomas at layh.com
Tue Oct 12 15:02:28 CEST 2010
Hey together,
i started working with FLOW3 a couple of days back and everything worked
fine so far.
Now I want to connect my newly created model/repository to a database. As
far as I understood, all I have to do is to set the settings in
Settings.yaml for the MySQL connection and to create the model and the table
in the database.
After first changing to MySQL FLOW3 give me the error messages that there
are some tables missing like properties and properties_data so I imported
the sql file located in
Packages/Framework/FLOW3/Resources/Private/Persistence/SQL/DDL.sql
After importing this file I had no more error message. So I guess my
connection to the database is fine and successful.
My question now, is there any special structure my table has to have? I can
call my repository/findAll function and it returns an object and the
toArray() function then returns an empty array.
If someone has a good idea I would really be happy.
I posted the same problem in the forum on typo3.net (
http://www.typo3.net/forum/beitraege/flow3/101687/ ) where you can find some
details about my model,settings and controller.
If you need some more information please let me know.
Greetings,
Thomas Layh
More information about the FLOW3-general
mailing list