FeministWiki:Server setup: Difference between revisions

    Line 159: Line 159:
    === Copy over SQL databases ===
    === Copy over SQL databases ===


    Stop the database server '''on the new server (careful!)''':
    Run the following command from the old server:
     
    systemctl stop mariadb
     
    Then run the following command from the old server:


      mysqldump -u root -p"$(cat /root/pwd/mysql)" \
      mysqldump -u root -p"$(cat /root/pwd/mysql)" \