On 01/31/2017 06:33 PM, Per Jessen wrote:
george from the tribe wrote:
Ok, so I used the following procedure https://en.opensuse.org/SDB:LAMP_setup
to set up an apache2 web server, then php7, and then the mysql server with mariadb. Following that procedure in the SDB, it ran great, I was able to set up a small database, connect to it and edit it with phpmyadmin, and was pretty happy with it. Of course, there is one problem with that setup, and that is that it installs all the database files in the root partition. The SDB doesn't give any guidelines for how to move the database to my home partition, which is where I want it to be.
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? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org