http://bugs.winehq.org/show_bug.cgi?id=14263
Summary: create_table option forcreate_user.sql is incorrect Product: WineHQ Apps Database Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: trivial Priority: P2 Component: appdb-unknown AssignedTo: wine-bugs@winehq.org ReportedBy: bain@foad.za.net
Created an attachment (id=14555) --> (http://bugs.winehq.org/attachment.cgi?id=14555) Patches create_tables to run when apidb does not exist
The create_table script has the following commands :
mysql -p -u root apidb < create_user.sql cat create_apidb_base.sql appdb_tables.sql \ prefs_list.sql user_list.sql user_prefs.sql \ user_privs.sql app_category.sql \ maintainers.sql buglinks.sql monitors.sql \ error_log.sql distributions.sql testResults.sql \ | mysql -p -u root apidb
Removing the apidb database specification after mysql commands fixes this and the script continues as expected.
Patch attached