create_database.sh: add (new) sovjket location '/run/mysqld/'.
This commit is contained in:
		| @@ -623,6 +623,8 @@ else | |||||||
|          || ( [[ $MAJOR_VERSION -eq 10 ]] && [[ $MINOR_VERSION -gt 3 ]] )) ; then |          || ( [[ $MAJOR_VERSION -eq 10 ]] && [[ $MINOR_VERSION -gt 3 ]] )) ; then | ||||||
|       if [[ -S "/tmp/mysql.sock" ]]; then |       if [[ -S "/tmp/mysql.sock" ]]; then | ||||||
|          MYSQL_CREDENTIAL_ARGS="-u root -S /tmp/mysql.sock" |          MYSQL_CREDENTIAL_ARGS="-u root -S /tmp/mysql.sock" | ||||||
|  |       elif [[ -S "/run/mysqld/mysqld.sock" ]]; then | ||||||
|  |          MYSQL_CREDENTIAL_ARGS="-u root -S /run/mysqld/mysqld.sock" | ||||||
|       elif [[ -S "/var/run/mysqld/mysqld.sock" ]]; then |       elif [[ -S "/var/run/mysqld/mysqld.sock" ]]; then | ||||||
|          MYSQL_CREDENTIAL_ARGS="-u root -S /var/run/mysqld/mysqld.sock" |          MYSQL_CREDENTIAL_ARGS="-u root -S /var/run/mysqld/mysqld.sock" | ||||||
|       else |       else | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user