Jose Velasquez

Generation

generate functionSun, 18 Jun 2023

como ejecutar pcp_recovery_node -h 192.168.1.48 -p 9898 -U pgpool -n 1 sin contraseña

#include <iostream> #include <string> using namespace std; int main() { string username = "pgpool"; string ip = "192.168.1.48"; int port = 9898; int node = 1; string command = "pcp_recovery_node -h "+ip+" -p "+to_string(port)+" -U "+username+" -n "+to_string(node); cout << command << endl; system(command.c_str()); return 0; }

Questions about programming?Chat with your personal AI assistant