airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Marru <sma...@apache.org>
Subject Re: [TESTING] Apache Airavata 0.6 RC3
Date Fri, 25 Jan 2013 16:37:53 GMT

>> 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/
Mime
View raw message