Код: Выделить всё
using (var conn = new MySqlConnection(_connectionString + ";AllowLoadLocalInfile=True"))
{
this.ExecuteNonQuery("SET GLOBAL local_infile=1;");
var bulkCopy = new MySqlBulkCopy(conn);
bulkCopy.DestinationTableName = targetTable;
bulkCopy.WriteToServer(dataTable);
}
Код: Выделить всё
Access denied; you need (at least one of) the SUPER or SYSTEM_VARIABLES_ADMIN privilege(s) for this operationКод: Выделить всё
GRANT SUPER ON *.* TO {user}@'%';
Код: Выделить всё
1 warning(s): 1287 The SUPER privilege identifier is deprecated
Код: Выделить всё
ERROR 1045 (28000): Access denied for user 'admin'@'%' (using password: YES)
Подробнее здесь: https://stackoverflow.com/questions/790 ... in-aws-rds
Мобильная версия