|
@@ -162,11 +162,10 @@ function install_mariadb {
|
162
|
162
|
exit 34672
|
163
|
163
|
fi
|
164
|
164
|
|
165
|
|
- if [ ! -f /etc/mysql/conf.d/my.cnf ]; then
|
166
|
|
- echo $'/etc/mysql/conf.d/my.cnf not found'
|
167
|
|
- exit 6376245
|
168
|
|
- fi
|
169
|
|
- echo 'socket = /var/run/mysqld/mysqld.sock' >> /etc/mysql/conf.d/my.cnf
|
|
165
|
+ #if [ ! -f /etc/mysql/conf.d/my.cnf ]; then
|
|
166
|
+ # echo $'/etc/mysql/conf.d/my.cnf not found'
|
|
167
|
+ # exit 6376245
|
|
168
|
+ #fi
|
170
|
169
|
systemctl restart mysql
|
171
|
170
|
|
172
|
171
|
mysqladmin -u root password "$MARIADB_PASSWORD"
|