I'm writing an application which starts through command prompt
To manage this path you can use an environment variable and get it from your application.
string sPath = System.Environment.GetEnvironmentVariable("MYSQL_DIR");
Other solution is copy both executables to your application path and access them with a relative path.
string sPath = "./";
Hope it helps.