Can't find mysqld.cnf in MySQL 5.6
knnethdw opened this issue · 1 comments
knnethdw commented
Here is the last part of the output of the vagrant up command:
==> default: Setting up mysql-client-core-5.6 (5.6.27-0ubuntu0.14.04.1) ...
==> default: Setting up mysql-client-5.6 (5.6.27-0ubuntu0.14.04.1) ...
==> default: Setting up mysql-server-core-5.6 (5.6.27-0ubuntu0.14.04.1) ...
==> default: Setting up mysql-server-5.6 (5.6.27-0ubuntu0.14.04.1) ...
==> default: 2015-10-31 12:51:38 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
==> default: 2015-10-31 12:51:38 0 [Note] /usr/sbin/mysqld (mysqld 5.6.27-0ubuntu0.14.04.1) starting as process 9417 ...
==> default: 2015-10-31 12:51:38 9417 [Note] Plugin 'FEDERATED' is disabled.
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: Using atomics to ref count buffer pool pages
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: The InnoDB memory heap is disabled
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: Memory barrier is not used
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: Compressed tables use zlib 1.2.8
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: Using Linux native AIO
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: Using CPU crc32 instructions
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: Initializing buffer pool, size = 128.0M
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: Completed initialization of buffer pool
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: Highest supported file format is Barracuda.
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: 128 rollback segment(s) are active.
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: Waiting for purge to start
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: 5.6.27 started; log sequence number 1625977
==> default: 2015-10-31 12:51:38 9417 [Note] Binlog end
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: FTS optimize thread exiting.
==> default: 2015-10-31 12:51:38 9417 [Note] InnoDB: Starting shutdown...
==> default: 2015-10-31 12:51:40 9417 [Note] InnoDB: Shutdown completed; log sequence number 1625987
==> default: start: Job failed to start
==> default: invoke-rc.d: initscript mysql, action "start" failed.
==> default: dpkg: error processing package mysql-server-5.6 (--configure):
==> default: subprocess installed post-installation script returned error exit status 1
==> default: Setting up libhtml-template-perl (2.95-1) ...
==> default: Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
==> default: Processing triggers for ureadahead (0.100.0-16) ...
==> default: Errors were encountered while processing:
==> default: mysql-server-5.6
==> default: E
==> default: :
==> default: Sub-process /usr/bin/dpkg returned an error code (1)
I've been googling for a solution for the past two hours, but I can't find one.
The only thing I know is that I can't find the file/etc/mysql/mysql.conf.d/mysqld.cnf
. I don't know why it isn't there anymore...
knnethdw commented
Vaprobash edits the mysqld.cnf for MySQL 5.6, but the file doesn't exist.
https://github.com/fideloper/Vaprobash/blob/master/scripts/mysql.sh#L34
I'm 100% sure it existed last week when I created a new VM..