...
1 - Log into MySQL console
You have to use mysql command with --local-info=1 to login, e.g.
| Code Block |
|---|
mysql --local-infile=1 -uroot -p dualshield |
2 - Change to "DualShield" database:
| Code Block | ||
|---|---|---|
| ||
mysql > use DualShield; |
3 - Set local_infile variable
| Code Block | ||
|---|---|---|
| ||
mysql > set global local_infile=true; |
4 - Execute the script below to import the database
...
* replace "FILE-PATH-TO" with the actual file path where the downloaded file is saved, e.g. "C:\\Temp"
Please note that it can take about 30 minutes to import the data.
Note:
* For dualshield version < 8.0, the name of the table in the database is called "ip2location_db3"





