Commit c4026b29 authored by j38560's avatar j38560

Fixed line endings.

parent 4ad55572
...@@ -6,15 +6,15 @@ apt update ...@@ -6,15 +6,15 @@ apt update
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
echo "mysql-server mysql-server/root_password password " | debconf-set-selections echo "mysql-server mysql-server/root_password password " | debconf-set-selections
echo "mysql-server mysql-server/root_password_again password " | debconf-set-selections echo "mysql-server mysql-server/root_password_again password " | debconf-set-selections
apt install -y -q mysql-server apt install -y -q mysql-server
apt install -y mysql-utilities apt install -y mysql-utilities
sed -i "s/.*bind-address.*/bind-address = 0.0.0.0/" /etc/mysql/mysql.conf.d/mysqld.cnf sed -i "s/.*bind-address.*/bind-address = 0.0.0.0/" /etc/mysql/mysql.conf.d/mysqld.cnf
service mysql stop service mysql stop
service mysql start service mysql start
mysql -u root -e "CREATE USER 'deployment'@'%' IDENTIFIED BY '';" mysql -u root -e "CREATE USER 'deployment'@'%' IDENTIFIED BY '';"
mysql -u root -e "GRANT ALL PRIVILEGES ON * . * TO 'deployment'@'%';" mysql -u root -e "GRANT ALL PRIVILEGES ON * . * TO 'deployment'@'%';"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment