Open rasa opened 7 years ago
So, try to fix mysql_cmd in config.py
Thanks for the response. I fixed mysql_cmd
in config.py
, but I still get the same error. In the geoip
database, I don't see a country
table, only:
mysql> show tables;
+-----------------+
| Tables_in_geoip |
+-----------------+
| csv_city4 |
| csv_country4 |
| csv_country6 |
| ip_city_new |
| ip_new |
+-----------------+
5 rows in set (0.00 sec)
Oh, country table should be prepared before running script. Maybe i can find it for you. But next is city_ext table. It's maybe useless for you as i used it only for cities from 3 specific country
If you can supply the table formats (SHOW CREATE TABLE country;
) I will prepare a PR to add it to create_db.sql
I added country.sql
I think city_ext
can be removed
Thanks for adding the country table.
The city_ext
table is referenced at
https://github.com/pengrad/mysql-geoip/blob/master/run.py#L120 and again at
https://github.com/pengrad/mysql-geoip/blob/master/run.py#L140