diff options
author | root <root@vps-18a7a2b7.vps.ovh.ca> | 2023-05-28 13:24:45 -0400 |
---|---|---|
committer | root <root@vps-18a7a2b7.vps.ovh.ca> | 2023-05-28 13:24:45 -0400 |
commit | cadd6e41b9c055d31e5ef088ad351ca302b10159 (patch) | |
tree | 9fdf92e7c13b40d10540412e33a9684b920fab96 /wordpress | |
parent | 4f050f196a3409dd79b09c607bef19364a42baab (diff) |
always use ssh
Diffstat (limited to 'wordpress')
-rwxr-xr-x | wordpress/wordpress-mysql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/wordpress/wordpress-mysql b/wordpress/wordpress-mysql index a96b8e4..cfd203c 100755 --- a/wordpress/wordpress-mysql +++ b/wordpress/wordpress-mysql | |||
@@ -71,6 +71,13 @@ read_config < <(wordpress-config-info "$1") | |||
71 | [ "$db_user" ] | 71 | [ "$db_user" ] |
72 | [ "$db_password" ] | 72 | [ "$db_password" ] |
73 | 73 | ||
74 | DO_NOT_USE_SSH= | ||
75 | if [ "$db_host" = localhost ] | ||
76 | then | ||
77 | DO_NOT_USE_SSH=y | ||
78 | fi | ||
79 | DO_NOT_USE_SSH= # always use ssh | ||
80 | |||
74 | if [ "$CREATE_NEW" ] | 81 | if [ "$CREATE_NEW" ] |
75 | then | 82 | then |
76 | if ! have_database | 83 | if ! have_database |