Versions Compared

Key

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

...

Code Block
languagesql
use DualShield;

3 - Set local_infile variable

Code Block
languagesql
set global local_infile=true;

Image Added

4 - Execute the script below to import the database

...

You can monitor the progress by checking MySQL's CPU usage in the Task Manager

Image RemovedImage Added

5 - After the ip2location data has been imported successfully, execute the script below to process the data

Code Block
languagesql
Update ip2location_ipv6 set ip_from = LPAD(ip_from, 39,'0'),ip_to = LPAD(ip_to, 39,'0');

Image RemovedImage Added

Again, this process will take some time depending on the machine power.

Image RemovedImage Added


Note:

* For dualshield version < 8.0, the name of the table in the database is called "ip2location_db3_ipv6"

...