草庐IT

mysql - -bash : ./配置 : No such file or directory - MySQL install on Mac OS X 10. 6

coder 2023-10-04 原文

我正在尝试在 Mac OS X 10.6 上安装 MySQL。下载 MySQL 并使用 tar xzvf mysql-5.1.37.tar.gz 解压后,我尝试运行此配置行:

./configure --prefix=/usr/local/mysql --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile --enable-shared --with-plugins=innobase

我得到了错误

-bash: ./configure: No such file or director

我认为configure 应该是目录mysql 中的一个文件,但它不在那里。我是正确的,还是配置了其他东西?

最佳答案

您下载的是二进制版本,而不是源代码。

这就是您收到配置错误的原因。去这里:

http://forums.mysql.com/read.php?117,295428,295493#msg-295493

从源代码编译正确的 mysql 版本。

关于mysql - -bash : ./配置 : No such file or directory - MySQL install on Mac OS X 10. 6,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1910356/

有关mysql - -bash : ./配置 : No such file or directory - MySQL install on Mac OS X 10. 6的更多相关文章

随机推荐