Explorar el Código

Merge pull request #67 from Magentron/fix-add-database

Unable to add database for user (Error: localhost not exist)
Serghey Rodin hace 13 años
padre
commit
a81d2698f1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      bin/v-add-database

+ 2 - 2
bin/v-add-database

@@ -48,8 +48,8 @@ is_object_valid 'user' 'USER' "$user"
 is_object_unsuspended 'user' 'USER' "$user"
 is_object_new 'db' 'DB' "$database"
 get_next_dbhost
-is_object_valid "../../../conf/$type" 'HOST' "$host"
-is_object_unsuspended "../../../conf/$type" 'HOST' "$host"
+is_object_valid "../../../conf/$type" 'DBHOST' "$host"
+is_object_unsuspended "../../../conf/$type" 'DBHOST' "$host"
 #is_charset_valid
 is_package_full 'DATABASES'