Sfoglia il codice sorgente

Linux mysql install

pull/15/head
pb 1 anno fa
parent
commit
3c9fd8553c
1 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. 11
    0
      i.lin.sh

+ 11
- 0
i.lin.sh Vedi File

@@ -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

Loading…
Annulla
Salva