This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
qemudb/tables/create_tables
Chris Morgan 33faa569eb Clean up database creation to create the mysql interface user and grant permissions. Group
database setup together so the user is prompted for only a couple of times during
initialization.
2007-07-24 21:49:23 +00:00

13 lines
389 B
Bash

#! /bin/sh
echo Create the base user
mysql -p -u root < create_user.sql
echo Create the apidb database, and tables
cat create_apidb_base.sql appdb_tables.sql \
prefs_list.sql user_list.sql user_prefs.sql \
user_privs.sql session_list.sql app_category.sql \
maintainers.sql buglinks.sql monitors.sql \
error_log.sql distributions.sql testResults.sql \
| mysql -p -u root