Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3. Stop the DualShield service

Expand
title4. Please click here if using built in MySQL

If the DualShield uses a local MySQL database, then export the DaulShield database 

Code Block
languagepowershell
    cd C:\Program Files\Deepnet DualShield\mysql\bin\
    mysqldump -uroot -p dualshield > c:\dualshield.sql

...

Copy the database file "dualshield.sql" from the Windows machine to the home folder of the Linux machine, and import it into the database

...

Run the following commands to import the dualshield.sql file...  (for the last command replace [username] with the account name used to log into Linux CLI

Code Block
    cd /opt/dualshield/mysql/bin/
    ./mysql -uroot -p -e "drop database dualshield"
	./mysql -uroot -p -e "create database dualshield DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci"     
	./mysql -uroot -p dualshield < /home/[username]/dualshield.sql






6. Copy the following files from the Windows machine to the home folder of the Linux machine: