/usr/sbin/mysqld --defaults-file=/home/ok2cqr/.config/cqrlog/database/mysql.cnf --datadir=/home/ok2cqr/.config/cqrlog/database/ --socket=/home/ok2cqr/.config/cqrlog/database/sock --port=64000 --keyring_file_data=/home/ok2cqr/.config/cqrlog/database/keyring
for the first time is running fine
after quit and new attempt to run saves this error message:
2016-04-08T08:34:47.488685Z 0 [Warning] The syntax '--log_warnings/-W' is deprecated and will be removed in a future release. Please use '--log_error_verbosity' instead.
2016-04-08T08:34:47.488770Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-04-08T08:34:47.489677Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.11-0ubuntu5) starting as process 5715 ...
2016-04-08T08:34:47.495603Z 0 [Note] InnoDB: PUNCH HOLE support available
2016-04-08T08:34:47.495665Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-04-08T08:34:47.495677Z 0 [Note] InnoDB: Uses event mutexes
2016-04-08T08:34:47.495688Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-04-08T08:34:47.495699Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-04-08T08:34:47.495710Z 0 [Note] InnoDB: Using Linux native AIO
2016-04-08T08:34:47.496201Z 0 [Note] InnoDB: Number of pools: 1
2016-04-08T08:34:47.496363Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2016-04-08T08:34:47.515714Z 0 [Note] InnoDB: Initializing buffer pool, total size = 80M, instances = 1, chunk size = 80M
2016-04-08T08:34:47.523968Z 0 [Note] InnoDB: Completed initialization of buffer pool
2016-04-08T08:34:47.526575Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2016-04-08T08:34:47.540264Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2016-04-08T08:34:47.540374Z 0 [ERROR] InnoDB: Operating system error number 13 in a file operation.
2016-04-08T08:34:47.540390Z 0 [ERROR] InnoDB: The error means mysqld does not have the access rights to the directory.
2016-04-08T08:34:47.540406Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2016-04-08T08:34:48.142457Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2016-04-08T08:34:48.142538Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2016-04-08T08:34:48.142564Z 0 [ERROR] Failed to initialize plugins.
2016-04-08T08:34:48.142583Z 0 [ERROR] Aborting
2016-04-08T08:34:48.142637Z 0 [Note] Binlog end
2016-04-08T08:34:48.142705Z 0 [Note] Shutting down plugin 'MyISAM'
2016-04-08T08:34:48.142746Z 0 [Note] Shutting down plugin 'CSV'
2016-04-08T08:34:48.142781Z 0 [Note] Shutting down plugin 'keyring_file'
2016-04-08T08:34:48.143405Z 0 [Note] /usr/sbin/mysqld: Shutdown complete