mysql - 在 Nitrous.io 错误上安装 MySQL

标签 mysql meteor nitrousio

我在 nitrous.io 机器上安装 MySQL 时遇到问题。我运行 parts install MySQL 命令但出现以下错误:

    Installing MySQL system tables...
    2014-04-12 20:34:20 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
    2014-04-12 20:34:20 4575 [Warning] Buffered warning: Changed limits: max_open_files: 512 (requested 5000)
    2014-04-12 20:34:20 4575 [Warning] Buffered warning: Changed limits: table_cache: 400 (requested 2000)
    2014-04-12 20:34:20 4575 [Note] InnoDB: The InnoDB memory heap is disabled
    2014-04-12 20:34:20 4575 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
    2014-04-12 20:34:20 4575 [Note] InnoDB: Compressed tables use zlib 1.2.3
    2014-04-12 20:34:20 4575 [Note] InnoDB: Using CPU crc32 instructions
    2014-04-12 20:34:20 4575 [Note] InnoDB: Initializing buffer pool, size = 128.0M
    2014-04-12 20:34:21 4575 [Note] InnoDB: Completed initialization of buffer pool
    2014-04-12 20:34:21 4575 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
    2014-04-12 20:34:21 4575 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
    2014-04-12 20:34:21 4575 [Note] InnoDB: Database physically writes the file full: wait...
    2014-04-12 20:34:21 7f04ae363740 InnoDB: Error: Write to file ./ibdata1 failed at offset 0.
    InnoDB: 1048576 bytes should have been written, only 73728 were written.
    InnoDB: Operating system error number 2.
    InnoDB: Check that your OS and file system support files of this size.
    InnoDB: Check also that the disk is not full or a disk quota exceeded.
    InnoDB: Error number 2 means 'No such file or directory'.
    InnoDB: Some operating system error numbers are described at
    InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
    2014-04-12 20:34:21 4575 [ERROR] InnoDB: Error in creating ./ibdata1: probably out of disk space
    2014-04-12 20:34:21 4575 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
    2014-04-12 20:34:21 4575 [ERROR] Plugin 'InnoDB' init function returned error.
    2014-04-12 20:34:21 4575 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    2014-04-12 20:34:21 4575 [ERROR] Unknown/unsupported storage engine: InnoDB
    2014-04-12 20:34:21 4575 [ERROR] Aborting

    2014-04-12 20:34:21 4575 [Note] Binlog end
    2014-04-12 20:34:21 4575 [Note] /home/action/.parts/packages/mysql/5.6.13/bin/mysqld: Shutdown complete

    parts: ERROR: "scripts/mysql_install_db --basedir=/home/action/.parts/packages/mysql/5.6.13 --datadir=/home/action/.parts/var/mysql --tmpdir=/tmp --user=action --verbose" failed
    Aborting!

还有人有使用 MySQL 和 Meteor 的经验吗,它对性能有没有严重的负面影响。找到一篇不错的文章here但不讨论性能并且是一岁。

最佳答案

找到问题了!

我的氮气盒上没有足够的空间了。 MySQL 需要至少 450MB 的空间,而我没有足够的空间。添加额外空间并重新启动我的盒子解决了我的问题/

关于mysql - 在 Nitrous.io 错误上安装 MySQL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23035998/

相关文章:

php - 使用 PostgreSQL 或 Mysql 的 SQL 查询进度

node.js - 尝试提供 Meteor 应用程序时出现 'babel-runtime' 错误

ruby-on-rails - 在 Nitrous.io 上安装 ElasticSearch?

mysql - 一张表上有多个条件求和列

php - foreach 循环中的复选框值获取不起作用

google-maps - 谷歌地图不显示在手机上

javascript - 增加 Meteor.observe 的更新频率

rake - 参数错误 : Write key must be initialized Rails

javascript - 我的 meteor 项目规模正在失控

mysql - 使用 MySQL 中同一选择查询的数据运行多次插入