Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install.action : database step - database creation #6

Open
astik opened this issue Feb 26, 2011 · 3 comments
Open

Install.action : database step - database creation #6

astik opened this issue Feb 26, 2011 · 3 comments

Comments

@astik
Copy link
Contributor

astik commented Feb 26, 2011

I want infoglue to create the database from scratch, so that I check the "Create new database automatically" checkbox.
If I try to do it : "Access denied for user 'root'@'localhost' to database 'infoglue2'"
So I though creating the database before and settings the propers access right to the database but if the database already exist, even if it's empty, it fails : "Can't create database 'infoglue2'; database exists".
For now, I think I have to prevent database creation into the Installation process java action.

@astik
Copy link
Contributor Author

astik commented Feb 26, 2011

Maybe it would be better to split database creation and database fillin as some administrator would authorize application to play with a specific database but not the entire system.

@bogeblad
Copy link
Owner

I have tries that many times and it do work for me - did you test with the absolute latest code? I did some changes yesterday for example. We can consider splitting it but I think the wizard allready can work with a precreated database but we should test it well. By the way - I did some ugly but practical changes in the old ant-scripts to support installing infoglue with git and ant + new inline configuration tool.

The basics are:
git clone git://github.com/bogeblad/infoglue.git
ant install

The only thing that needs in build.properties are
deploy.dir.shared=/Applications/InfoGlue/tomcat/
deploy.dir.cms=/Applications/InfoGlue/tomcat/webapps/infoglueCMS
deploy.dir.working=/Applications/InfoGlue/tomcat/webapps/infoglueDeliverWorking
deploy.dir.preview=/Applications/InfoGlue/tomcat/webapps/infoglueDeliverPreview
deploy.dir.live=/Applications/InfoGlue/tomcat/webapps/infoglueDeliverLive

and here you can comment out the deliver apps you don't want.

Can we get something similar in the new maven-based setup?

@astik
Copy link
Contributor Author

astik commented Feb 26, 2011

It's weird you can't reproduce that case, I'll do more test to validate that.

Speaking of maven easy set up, I'm working hard on simplifying all the process and having the simpliest way of testing 0 day code. Right now, it still needs some work =)

bogeblad pushed a commit that referenced this issue May 31, 2016
Improved view of references to remove etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants