File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,13 +21,12 @@ pip install --upgrade pip
2121pip install frappe-bench
2222
2323if [ " $DB " == " mariadb" ]; then
24- mysql --host 127.0.0.1 --port 3306 -u root -e " SET GLOBAL character_set_server = 'utf8mb4'"
25- mysql --host 127.0.0.1 --port 3306 -u root -e " SET GLOBAL collation_server = 'utf8mb4_unicode_ci'"
26- mysql --host 127.0.0.1 --port 3306 -u root -e " CREATE OR REPLACE DATABASE test_site"
27- mysql --host 127.0.0.1 --port 3306 -u root -e " CREATE OR REPLACE USER 'test_site'@'localhost' IDENTIFIED BY 'test_site'"
28- mysql --host 127.0.0.1 --port 3306 -u root -e " GRANT ALL PRIVILEGES ON \` test_site\` .* TO 'test_site'@'localhost'"
29- mysql --host 127.0.0.1 --port 3306 -u root -e " ALTER USER 'root'@'localhost' IDENTIFIED BY 'root'" # match site_cofig
30- mysql --host 127.0.0.1 --port 3306 -u root -e " FLUSH PRIVILEGES"
24+ mysql --host 127.0.0.1 --port 3306 -u root -proot -e " SET GLOBAL character_set_server = 'utf8mb4'"
25+ mysql --host 127.0.0.1 --port 3306 -u root -proot -e " SET GLOBAL collation_server = 'utf8mb4_unicode_ci'"
26+ mysql --host 127.0.0.1 --port 3306 -u root -proot -e " CREATE OR REPLACE DATABASE test_site"
27+ mysql --host 127.0.0.1 --port 3306 -u root -proot -e " CREATE OR REPLACE USER 'test_site'@'localhost' IDENTIFIED BY 'test_site'"
28+ mysql --host 127.0.0.1 --port 3306 -u root -proot -e " GRANT ALL PRIVILEGES ON \` test_site\` .* TO 'test_site'@'localhost'"
29+ mysql --host 127.0.0.1 --port 3306 -u root -proot -e " FLUSH PRIVILEGES"
3130fi
3231
3332echo " BRANCH_NAME: ${BRANCH_NAME} "
You can’t perform that action at this time.
0 commit comments