On server A: $ scp -r /path/to/directory someuser@serverB:/path/to/files/. The above command will copy the files from serverA to serverB using someuser (a user on serverB). The directory (/path/to/directory) will be copied as a directory to the directory on serverB into th...
Could it be possible that the overall number of open files exceeds your allotment? Test it with# lsof | wc -l Create a /etc/nginx/ulimit.global_params file and enterworker_rlimit_nofile 64000;into it. If the worker_rlimit_nofile entry is present in /etc/nginx/nginx.co...
That would have to be: db.users.find({"name": /.*m.*/}) or, similar: db.users.find({"name": /m/}) You're looking for something that contains "m" somewhere (SQL's '%' operator is equivalent to Regexp's '.*'), not something that has "m" anchored to the beginning of the strin...
To transfer data from mysql to mongodb 1st create a backup of mysql database as a json file. You can export data as a json file from phpmyadmin. Then edit the json file, Remove the additional information and keep only json array. Then from terminal you can import data ...