Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@chatlatin:/var/log # exit
- [Aaron@chatlatin ~]$ gedit /usr/local/etc/mysql/my.cnf
- ^C
- [Aaron@chatlatin ~]$ /usr/local/libexec/mysqld -initialize
- 2019-10-15T01:29:03.021893Z 0 [Warning] Can't create test file /var/db/mysql/chatlatin.lower-test
- 2019-10-15T01:29:03.022249Z 0 [Note] /usr/local/libexec/mysqld (mysqld 5.7.27-log) starting as process 7274 ...
- 2019-10-15T01:29:03.029006Z 0 [Warning] Can't create test file /var/db/mysql/chatlatin.lower-test
- 2019-10-15T01:29:03.029089Z 0 [Warning] Can't create test file /var/db/mysql/chatlatin.lower-test
- 2019-10-15T01:29:03.029578Z 0 [Warning] One can only use the --user switch if running as root
- mysqld: File './mysql-bin.index' not found (Errcode: 13 - Permission denied)
- 2019-10-15T01:29:03.030137Z 0 [ERROR] Aborting
- 2019-10-15T01:29:03.030156Z 0 [Note] Binlog end
- 2019-10-15T01:29:03.030238Z 0 [Note] /usr/local/libexec/mysqld: Shutdown complete
- [Aaron@chatlatin ~]$ sudo /usr/local/libexec/mysqld -initialize
- Password:
- 2019-10-15T01:29:14.437785Z 0 [Note] /usr/local/libexec/mysqld (mysqld 5.7.27-log) starting as process 7276 ...
- 2019-10-15T01:29:14.489951Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 2019-10-15T01:29:14.490061Z 0 [Note] InnoDB: Uses event mutexes
- 2019-10-15T01:29:14.490069Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
- 2019-10-15T01:29:14.490076Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
- 2019-10-15T01:29:14.490667Z 0 [Note] InnoDB: Number of pools: 1
- 2019-10-15T01:29:14.490874Z 0 [Note] InnoDB: Not using CPU crc32 instructions
- 2019-10-15T01:29:14.494619Z 0 [Note] InnoDB: Initializing buffer pool, total size = 1G, instances = 8, chunk size = 128M
- 2019-10-15T01:29:14.788938Z 0 [Note] InnoDB: Completed initialization of buffer pool
- 2019-10-15T01:29:14.818214Z 0 [ERROR] InnoDB: The Auto-extending innodb_system data file '/var/db/mysql/ibdata1' is of a different size 4864 pages (rounded down to MB) than specified in the .cnf file: initial 8192 pages, max 0 (relevant if non-zero) pages!
- 2019-10-15T01:29:14.818254Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
- 2019-10-15T01:29:15.133833Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
- 2019-10-15T01:29:15.133928Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
- 2019-10-15T01:29:15.133938Z 0 [ERROR] Failed to initialize builtin plugins.
- 2019-10-15T01:29:15.133942Z 0 [ERROR] Aborting
- 2019-10-15T01:29:15.133951Z 0 [Note] Binlog end
- 2019-10-15T01:29:15.134050Z 0 [Note] Shutting down plugin 'CSV'
- 2019-10-15T01:29:15.134348Z 0 [Note] /usr/local/libexec/mysqld: Shutdown complete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement