Tag Info

New answers tagged

0

Short answer: no. Long answer: you can iterate over your keys (the output of KEYS - do not use that command in production! Use SCAN instead), call for each key the OBJECT IDLETIME command and delete based on the response. Longer answer: you can actually change scrumplr's source to have Redis automatically expire keys after 30 days. The suspect file appears ...


0

Alternative approach, but the one you tried is also right and should work: cat /Users/path/to/file/backup.sql | mysql -h hostname -u user -pPassword -D databasename > update.log Just in case, do you have mysql-client installed on your local machine?


-1

You have to run that command in the machine where the file exists. Not on the MySQL Server. Alternatively copy it to the MySQL server and run.


1

Easiest way is probably to install Ubuntu 14.04 on the new system including mysql-server packages you already have installed on the old system; use dpkg -l mysql\* to show what those packages are (make your terminal wide enough first to not truncate columns). Ensure the new system has the same or newer versions (not older versions). Now stop mysql on old ...


2

systemctl is not your dæmon. It is not even a process that spawns your dæmon. It is a program that tells the service manager process to spawn your dæmon via Desktop Bus RPC. So systemctl does not know anything about the command line arguments passed to your dæmon. Those are in your dæmon's service unit file, the ...



Top 50 recent answers are included