CUAHSI / HydroServerLite

Other
7 stars 6 forks source link

Installation with Existing ODM Database #33

Open xhqiao89 opened 7 years ago

xhqiao89 commented 7 years ago

jirikadlec2[CodePlex]
There are issues when an existing ODM MySQL database (this database already has sources, sites, variables and data values) is used in the client installation:

the client requires some extra tables (moss_users, sitepic, varmeth...) there is a risk that the installation will overwrite the existing data in the tables.

Steps to replicate:

from Hydroserver.codeplex.com download the 'Little Bear ODM sample database' .sql file

https://www.codeplex.com/Download?ProjectName=HydroServerDownloadId=684968 in MySQL create a new empty database run the sql query go to /client/setup/ and enter the database connection details error message 'unable to find table moss_users' is shown.

xhqiao89 commented 7 years ago

rohitkh[CodePlex]
Added support for existing databases to the latest version MVC.

xhqiao89 commented 7 years ago

rohitkh[CodePlex]
This is a wonderful feature that we should have. Will start work around Mid of march.