Add -p (ask for password) flag to mysql commands
This commit is contained in:
@@ -1,25 +1,25 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
echo Creating appdb tables
|
echo Creating appdb tables
|
||||||
mysql -u root < appdb_tables.sql
|
mysql -p -u root < appdb_tables.sql
|
||||||
|
|
||||||
echo Creating preferences list
|
echo Creating preferences list
|
||||||
mysql -u root < prefs_list.sql
|
mysql -p -u root < prefs_list.sql
|
||||||
|
|
||||||
echo Creating user list
|
echo Creating user list
|
||||||
mysql -u root < user_list.sql
|
mysql -p -u root < user_list.sql
|
||||||
|
|
||||||
echo Creating user preferences
|
echo Creating user preferences
|
||||||
mysql -u root < user_prefs.sql
|
mysql -p -u root < user_prefs.sql
|
||||||
|
|
||||||
echo Creating user privilages
|
echo Creating user privilages
|
||||||
mysql -u root < user_privs.sql
|
mysql -p -u root < user_privs.sql
|
||||||
|
|
||||||
echo Creating session table
|
echo Creating session table
|
||||||
mysql -u root < session_list.sql
|
mysql -p -u root < session_list.sql
|
||||||
|
|
||||||
echo Adding categories
|
echo Adding categories
|
||||||
mysql -u root < app_category.sql
|
mysql -p -u root < app_category.sql
|
||||||
|
|
||||||
echo Adding maintainers
|
echo Adding maintainers
|
||||||
mysql -u root < maintainers.sql
|
mysql -p -u root < maintainers.sql
|
||||||
|
|||||||
Reference in New Issue
Block a user