Bug #59044 | secure_file_priv does not respect Windows file naming standard | ||
---|---|---|---|
Submitted: | 19 Dec 2010 19:18 | Modified: | 4 Aug 2015 4:25 |
Reporter: | Roel Van de Paar | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
Version: | 5.1.39, 5.1.55 | OS: | Windows |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[19 Dec 2010 19:18]
Roel Van de Paar
[3 Aug 2015 11:14]
MySQL Verification Team
This seems to be fixed.. mysql> select 1 into outfile 'E:/sec/b/ggg.txt'; Query OK, 1 row affected (0.00 sec) mysql> select @@secure_file_priv,version(); +--------------------+---------------------------------------+ | @@secure_file_priv | version() | +--------------------+---------------------------------------+ | E:\sec\ | 5.6.26-enterprise-commercial-advanced | +--------------------+---------------------------------------+ 1 row in set (0.01 sec) mysql> select 1 into outfile 'E:/sec/b/eee.txt'; Query OK, 1 row affected (0.00 sec) mysql> select 1 into outfile 'e:/sec/b/fff.txt'; Query OK, 1 row affected (0.00 sec)
[3 Aug 2015 11:20]
MySQL Verification Team
i suspect the fix came with this change: https://github.com/mysql/mysql-server/commit/4c5dfc00f7a2ea3cf9475455e2749a96bfc38344
[4 Aug 2015 4:25]
Roel Van de Paar
Cool. Closing. Have not tested on Windows (don't use it anymore these days), but if Shane tested it, that's good enough for me :)