How to install mysql using binary src file for cygwin?

时间:2015-04-24 21:36:57

标签: mysql cygwin

I am trying to set up mysql on cygwin, since I have automation task so I need command line other than gui.

I downloaded the file from mysql website and it has no configure file when I untar it. As below:

no configure file

I was supposed to type,

./configure 
make 
make install

but now I am stuck, what should I do?

1 个答案:

答案 0 :(得分:0)

MySQL 5.5是使用CMake构建的,所以你可以这样做:

cmake .
make
make install

MySQL文档中的更多信息:https://dev.mysql.com/doc/refman/5.5/en/installing-source-distribution.html

也就是说,Cygwin确实有一个易于安装的二进制MySQL包,可能会给你带来一些麻烦。运行Cygwin setup.exe并在'databases'下查找'mysql'和'mysqld'。