Closed zek closed 1 year ago
@michaeldrennen, since the repository is closed for committing and pushing branches, I'll leave a comment here:
up code form
// src/Console/InsertGeonames.php:358
$query = "LOAD DATA LOCAL INFILE '" . $localFilePath . "'
INTO TABLE " . self::TABLE_WORKING . "
to
// src/Console/InsertGeonames.php:358
// Set the charset of the required environment
$charset = config("database.connections.{$this->connectionName}.charset", 'utf8mb4');
$query = "LOAD DATA LOCAL INFILE '" . $localFilePath . "'
INTO TABLE ".self::TABLE_WORKING." CHARACTER SET '{$charset}'
I'm getting error as following when I execute
php artisan geonames:install --country=TR --country=US