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

Database cannot be installed from scratch #15

Open
dleehr opened this issue Aug 19, 2014 · 3 comments
Open

Database cannot be installed from scratch #15

dleehr opened this issue Aug 19, 2014 · 3 comments

Comments

@dleehr
Copy link
Member

dleehr commented Aug 19, 2014

Part of issues identified in #13, database migrations are incomplete and the skel database does not load:

    $ mysql -u root -p FossilCalibration < FossilCalibration_skel.sql 
    Enter password: 
    ERROR 1146 (42S02) at line 4010: Table 'FossilCalibration.Link_CalibrationPair' doesn't exist
@dleehr
Copy link
Member Author

dleehr commented Aug 19, 2014

Just an issue to track this separately from #13 - should be possible to bring up a functional instance from publicly available data.

@jimallman
Copy link
Collaborator

@dleehr, please try again with the modified test file FossilCalibration_skel_FOLDED.sql. (See my Aug 3 email for download instructions.)

This shuffles the order of commands to add a series of empty tables (incl. FossilCalibration.Link_CalibrationPair) before they're referenced, instead of at the end.

  $ mysql --user=root --password  < FossilCalibration_skel_FOLDED.sql

This worked for me in a VMware test instance (debian lenny, mysql-server 5.1).

@dleehr
Copy link
Member Author

dleehr commented Sep 18, 2014

That installed successfully. Thanks!

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