I'm trying to install MySQL on Mac OS X 10.6. After I download MySQL and untar with tar xzvf mysql-5.1.37.tar.gz I then try and run this configure line:
./configure --prefix=/usr/local/mysql --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile --enable-shared --with-plugins=innobase
I get the error
-bash: ./configure: No such file or director
I thought that configure should be a file in directory mysql, but it is not there. Am I correct, or is configure something else?
解决方案
You've downloaded the binary version, not the source.
This is the reason that you're getting the config error. Go here:
for the correct mysql version to compile from source.