summaryrefslogtreecommitdiff
path: root/wordpress
diff options
context:
space:
mode:
authorroot <root@vps-18a7a2b7.vps.ovh.ca>2023-05-28 13:24:45 -0400
committerroot <root@vps-18a7a2b7.vps.ovh.ca>2023-05-28 13:24:45 -0400
commitcadd6e41b9c055d31e5ef088ad351ca302b10159 (patch)
tree9fdf92e7c13b40d10540412e33a9684b920fab96 /wordpress
parent4f050f196a3409dd79b09c607bef19364a42baab (diff)
always use ssh
Diffstat (limited to 'wordpress')
-rwxr-xr-xwordpress/wordpress-mysql7
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
74DO_NOT_USE_SSH=
75if [ "$db_host" = localhost ]
76then
77 DO_NOT_USE_SSH=y
78fi
79DO_NOT_USE_SSH= # always use ssh
80
74if [ "$CREATE_NEW" ] 81if [ "$CREATE_NEW" ]
75then 82then
76 if ! have_database 83 if ! have_database