Quantcast
Channel: User Slawomir - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 35

Securing LOAD DATA LOCAL

$
0
0

I need to periodically import significant number of rows from a CSV file. I'd like to be able to open up the least amount of access to the user (automation script) for this job.

Is it possible to limit LOAD DATA LOCAL to a specific table and user? If not, I'm thinking of creating a "staging database", load-data-local into it then INSERT-SELECT across two databases under the same MySQL instance.

Any other suggestions?


Viewing all articles
Browse latest Browse all 35

Trending Articles