On 2017-02-01 02:41, george from the tribe wrote:
On 01/31/2017 06:33 PM, Per Jessen wrote:
stop mysql move /var/lib/mysql to where you want it to be amend /etc/my.cnf accordingly. start mysql
strange that when I moved the database files, it didn't actually move them, but only copied them, even though I had already stopped the mysql server. The originals are still in the original directory, but the new files in the new directory are the ones that are being modified, according to the timestamp.
Why would it just copy those files and not move them with the mv command? Anyone else ever experience this?
No, the command mv certainly moves, not copies. But if mysql was not stopped it might recreate them. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)