Skip to content

Commit 1d34438

Browse files
authored
Update c9_php_mysql.sh
1 parent a1cfa73 commit 1d34438

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

c9_php_mysql.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ echo mysql-apt-config mysql-apt-config/select-connector-odbc select connector-
1919
export DEBIAN_FRONTEND=noninteractive
2020
sudo -E dpkg -i ${mysql_apt_deb_file}
2121

22-
# Create User and Database
23-
mysql -u root -e "create user homestead;create database homestead;grant all on homestead.* to homestead@localhost identified by 'secret';"
24-
2522
# Update
2623
sudo apt-get -y update
2724

@@ -54,6 +51,8 @@ sudo apt-get -y install mysql-server
5451
mysql-ctl start
5552
sudo mysql_upgrade -u root --force --upgrade-system-tables
5653

54+
# Create User and Database
55+
mysql -u root -e "create user homestead;create database homestead;grant all on homestead.* to homestead@localhost identified by 'secret';"
5756

5857
# Remove File and Folder
5958
rm hello-world.php

0 commit comments

Comments
 (0)