>> this is because you haven't created database tables. >> > Yes, but when I try to manually run the scripts I'm getting following error > while creating tables. > > $ mysql -u root -p --database=persistent_data < > ../webapps/airavata-server/WEB-INF/classes/database_scripts/data-mysql.sql > Enter password: > ERROR 1146 (42S02) at line 37: Table 'persistent_data.CONFIGURATION' > doesn't exist
Can we look at automating table creation in mysql if they don't exist? We probably can reuse the XRegistry code [1] which checks if the relevant tables exist if not run the sql script which creates them. Suresh [1] - https://svn.apache.org/repos/asf/airavata/attic/xregistry/
