Skip to content

Commit

Permalink
mysql test-6
Browse files Browse the repository at this point in the history
Signed-off-by: daizhenyu <[email protected]>
  • Loading branch information
daizhenyu committed Mar 15, 2024
1 parent 058059c commit cdd11a0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ runs:
echo "kaishi"
cat /var/log/mysql/error.log
echo "jieshu"
sudo mysql -u root -e "CREATE DATABASE IF NOT EXISTS test;"
result=$(sudo mysql -u root -s -e "CREATE DATABASE IF NOT EXISTS test;" 2>&1)
echo "$result"
# TEMP_PASSWORD=$(grep "A temporary password" /var/log/mysqld.log | awk '{print $NF}')
# echo "Temporary Password: $TEMP_PASSWORD"
# sudo mysql_secure_installation << EOF
Expand Down

0 comments on commit cdd11a0

Please sign in to comment.