jberger / Galileo

A Simple Modern Perl CMS
http://galileo-cms.herokuapp.com
166 stars 38 forks source link

Cannot deploy mysql database #19

Closed icydee closed 10 years ago

icydee commented 10 years ago

I have gone through the setup several times in an attempt to deploy to mysql but I have not succeeded.

the dns I am using is DBI:mysql:mydatabase options, I have tried both blank and {}

I have run both from the root directory with

perl bin/galileo setup

and from cd bin perl galileo setup

Neither work as expected.

When I have entered the setup, I go to the database setup and enter the admin user, on submit I get no error message and no error message in the console where I run galileo but it just re-displays the same form (admin user etc.)

I have tried both creating an empty database 'mydatabase' and ensuring that there is no database with that name.

There is no problem setting up a SQLITE database, it just balks at a mysql database.

I have tried this both from a Mac, and from a Linux (Fedora) system with the same results.

jberger commented 10 years ago

Well, that is interesting. I must admit I developed using SQLite and I don't use MySQL but I would have thought that the deployment mechanism took care of most of these abstractions. I will try to look at it soonish, but TBH galileo is not at the top of my list right now. Any additional data would be helpful.

icydee commented 10 years ago

I have forked your repo so I will try to work out what is going on and submit a patch.

Thanks for the prompt reply :)

hrupprecht commented 10 years ago

Hi icydee, I'd the same problem then you. I could solve this issue. You can checkout my fork of galileo.

Hi Joel, would you accept a patch ? Then I 'll send you a pull request.

jberger commented 10 years ago

Absolutely I would accept a patch! Thanks for tracking it down! On Nov 28, 2013 5:08 AM, "Holger Rupprecht" notifications@github.com wrote:

Hi icydee, I'd the same problem then you. I could solve this issue. You can checkout my fork https://github.com/hrupprecht/Galileo of galileo.

Hi Joel, would you accept a patchhttps://github.com/hrupprecht/Galileo/commit/5a17541cd1a5736431645799ef1e90a2d5bbd58f? Then I 'll send you a pull request.

— Reply to this email directly or view it on GitHubhttps://github.com/jberger/Galileo/issues/19#issuecomment-29456375 .