Home  >  Q&A  >  body text

linux - 编译安装mysql 5.6.23

make[2]: * [storage/perfschema/unittest/pfs_connect_attr-t] Error 1
make[1]: * [storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/all] Error 2

百度,谷歌都是给这个答案,一开始安装到66%报这错,加了下面的配置后,就安装到86%报错,没办法突破这个槛。

-DWITH_EMBEDDED_SERVER=0 -DWITH_PARTITION_STORAGE_ENGINE=0

伊谢尔伦伊谢尔伦2714 days ago502

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理2017-04-17 15:38:54

    The machine has 512M memory. The online explanation for this error is insufficient memory. None of the online answers are available. I am a novice. I have no choice but to give up installing MySQL 5.6.23 and change to a MySQL version. The one-time installation is successful.

    The following URL is my notes on building LNMP
    http://www.zhile.name/92.html

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 15:38:54

    Since Mysql was acquired by Oracle, it has been recommended to use MariaDB instead of Mysql. If you want to install Mysql on CentOS, don’t you have to download the Mysql installation package first and then upload it to the server for installation? I don't know how you installed it.

    reply
    0
  • Cancelreply