Pārlūkot izejas kodu

Linux mysql install

pull/15/head
pb pirms 1 gada
vecāks
revīzija
3c9fd8553c
1 mainītis faili ar 11 papildinājumiem un 0 dzēšanām
  1. 11
    0
      i.lin.sh

+ 11
- 0
i.lin.sh Parādīt failu

@@ -111,6 +111,8 @@
cd ..

# Install mysql
# https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_lower_case_table_names
sudo debconf-set-selections <<< "mysql-server mysql-server/lowercase-table-names select Enabled"
#sudo apt install mysql-server -y
systemctl is-active mysql
#sudo mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password by 'mysql#minA1';"
@@ -120,6 +122,15 @@

# Init DB schema and Load Data
#mysql -u root -pmysql#minA1 < cihsr-data/cihsr-dev-schema.sql


##############
###UNINSTALL MYSQL
#sudo apt-get remove --purge mysql*
#sudo apt-get autoremove
#sudo apt-get autoclean


fi

echo module.exports = { instanceName : "'$INSTANCENAME'", reposerver: "'$REPOSERVER'", gitUser: "'$GITUSER'", gitEmail:"'$GITEMAIL'" } > installchoices.js

Notiek ielāde…
Atcelt
Saglabāt