Subversion Repositories ALCASAR

Rev

Rev 2664 | Rev 2829 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log

Rev 2664 Rev 2811
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-mysql.sh 2664 2018-11-19 17:35:12Z tom.houdayer $
2
# $Id: alcasar-mysql.sh 2811 2020-04-15 22:07:11Z rexy $
3
 
3
 
4
# alcasar-mysql.sh
4
# alcasar-mysql.sh
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 116... Line 116...
116
			*.sql )
116
			*.sql )
117
				mysql -u $DB_USER -p$DB_PASS < $2
117
				mysql -u $DB_USER -p$DB_PASS < $2
118
				stop_acct	
118
				stop_acct	
119
				;;
119
				;;
120
			esac
120
			esac
121
			migrationsPath="$DIR_BIN/alcasar-migrations"
121
			migrationsPath="$DIR_BIN/alcasar-db-migrations"
122
			"$migrationsPath/alcasar-migration-3.2.0_dbStructure.sh"
122
			"$migrationsPath/alcasar-migration-3.2.0_dbStructure.sh"
123
			"$migrationsPath/alcasar-migration-3.3.0_dbRadiusAttrs.sh"
123
			"$migrationsPath/alcasar-migration-3.3.0_dbRadiusAttrs.sh"
124
			"$migrationsPath/alcasar-migration-3.3.1_dbRadiusAttrs.sh"
124
			"$migrationsPath/alcasar-migration-3.3.1_dbRadiusAttrs.sh"
125
		fi
125
		fi
126
		;;
126
		;;