summaryrefslogtreecommitdiffstats
path: root/contrib/docker/bugzilla_config.sh
blob: 8e77f868f1efe6ad629ba7e527fd09e9c0f9d2ce (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# Configure database
/usr/bin/mysqld_safe &
sleep 5
mysql -u root mysql -e "GRANT ALL PRIVILEGES ON *.* TO bugs@localhost IDENTIFIED BY 'bugs'; FLUSH PRIVILEGES;"
cd $BUGZILLA_HOME
perl checksetup.pl /checksetup_answers.txt
perl checksetup.pl /checksetup_answers.txt
perl /generate_bmo_data.pl
mysqladmin -u root shutdown