MySQL Forums
Forum List  »  Events (Job Scheduler)

Re: How to read .txt in Event scheduler?
Posted by: Devart Team
Date: May 19, 2011 12:51AM

The 'LOAD DATA INFILE' statement is not permitted in routines. But you could create a scheduler task (cron) in your OS and run mysql client with option --execute, e.g.-

shell> mysql --user=user_name --password=your_password --execute="LOAD DATA INFILE..."

Devart Company,
MySQL management tools
http://www.devart.com/dbforge/mysql/

Options: ReplyQuote


Subject
Views
Written By
Posted
8700
May 18, 2011 08:51AM
Re: How to read .txt in Event scheduler?
3833
May 19, 2011 12:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.