I am new to MySQL and have the task of automating a data import. The entire database is scripted into a sql file and delivered over FTP. The script has table create statements followed by data insert statements (MySQL data dump).
Currently, I run the MySQL command line import statement. Is there a way I can automate this through .NET / C# code ? I tried running the query as a MySqlCommand but the length of the file is too big and I run into out of memory exception issues.
Any help or pointers would be greatly appreciated.
Currently, I run the MySQL command line import statement. Is there a way I can automate this through .NET / C# code ? I tried running the query as a MySqlCommand but the length of the file is too big and I run into out of memory exception issues.
Any help or pointers would be greatly appreciated.