If you like this, buy me some beer!

 


Open Your project. Add MySQLTweaker.dll (Tiny,Full or mix is on your choice) to your reference.

First you need using

using MySQLTweaker;


Install Mysql:

 Installer.InstallMySQL(Application.StartupPath + "\\core", iType,//iType = 
Installer.InstallType.Full or 
Installer.InstallType.Tiny
iComplete => //Do some notice iException =>  //Do some notice;

 

Start Mysql:

Controller.RunMySql(Application.StartupPath + "\\core")

 

Stop Mysql:

Controller.StopMySql(Application.StartupPath + "\\core", "9998")

 

The default port setting in my.ini is "9998", you can change it if needed.

Last edited Mar 13, 2012 at 12:00 PM by K9998, version 10

Comments

No comments yet.