Guest User

Untitled

a guest
Mar 20th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  1. docker run -d --name mariadb -e MYSQL_ROOT_PASSWORD=password -p 3306:3306 -p 4567:4567/udp -p 4567-4568:4567-4568 -p 4444:4444 -v /mnt/data/mysql:/var/lib/mysql mariadb:10.1 chown -R mysql:mysql /var/lib/mysql && mysqld --user=mysql --wsrep-new-cluster
  2.  
  3. 2017-05-11 20:04:55 139780804880320 [Note] mysqld (mysqld 10.1.23-MariaDB-1~jessie) starting as process 6 ...
  4. 2017-05-11 20:04:55 139780804880320 [Note] InnoDB: Using mutexes to ref count buffer pool pages
  5. 2017-05-11 20:04:55 139780804880320 [Note] InnoDB: The InnoDB memory heap is disabled
  6. 2017-05-11 20:04:55 139780804880320 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
  7. 2017-05-11 20:04:55 139780804880320 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
  8. 2017-05-11 20:04:55 139780804880320 [Note] InnoDB: Compressed tables use zlib 1.2.8
  9. 2017-05-11 20:04:55 139780804880320 [Note] InnoDB: Using Linux native AIO
  10. 2017-05-11 20:04:55 139780804880320 [Note] InnoDB: Using SSE crc32 instructions
  11. 2017-05-11 20:04:55 139780804880320 [Note] InnoDB: Initializing buffer pool, size = 256.0M
  12. 2017-05-11 20:04:55 139780804880320 [Note] InnoDB: Completed initialization of buffer pool
  13. 2017-05-11 20:04:55 139780804880320 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
  14. 2017-05-11 20:04:55 139780804880320 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
  15. 2017-05-11 20:04:55 139780804880320 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
  16. 2017-05-11 20:04:55 139780804880320 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
  17. 2017-05-11 20:04:56 139780804880320 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
  18. 2017-05-11 20:04:56 139780804880320 [Warning] InnoDB: New log files created, LSN=45883
  19. 2017-05-11 20:04:56 139780804880320 [Note] InnoDB: Doublewrite buffer not found: creating new
  20. 2017-05-11 20:04:56 139780804880320 [Note] InnoDB: Doublewrite buffer created
  21. 2017-05-11 20:04:56 139780804880320 [Note] InnoDB: 128 rollback segment(s) are active.
  22. 2017-05-11 20:04:56 139780804880320 [Warning] InnoDB: Creating foreign key constraint system tables.
  23. 2017-05-11 20:04:56 139780804880320 [Note] InnoDB: Foreign key constraint system tables created
  24. 2017-05-11 20:04:56 139780804880320 [Note] InnoDB: Creating tablespace and datafile system tables.
  25. 2017-05-11 20:04:56 139780804880320 [Note] InnoDB: Tablespace and datafile system tables created.
  26. 2017-05-11 20:04:56 139780804880320 [Note] InnoDB: Waiting for purge to start
  27. 2017-05-11 20:04:56 139780804880320 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.35-80.0 started; log sequence number 0
  28. 2017-05-11 20:04:56 139780029413120 [Note] InnoDB: Dumping buffer pool(s) not yet started
  29. 2017-05-11 20:04:56 139780804880320 [Note] Plugin 'FEEDBACK' is disabled.
  30. 2017-05-11 20:04:56 139780804880320 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
  31. 2017-05-11 20:04:56 139780804880320 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
  32. 2017-05-11 20:04:56 139780804880320 [Note] Server socket created on IP: '::'.
  33. 2017-05-11 20:04:56 139780804880320 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
  34.  
  35. docker run -d --name mariadb -e MYSQL_ROOT_PASSWORD=password -p 3306:3306 -p 4567:4567/udp -p 4567-4568:4567-4568 -p 4444:4444 -v /mnt/data/mysql:/var/lib/mysql mariadb:10.1 /bin/bash -c 'chown -R mysql:mysql /var/lib/mysql && mysqld --user=mysql --wsrep-new-cluster'
  36.  
  37. chmod -R ug+rw /var/lib/mysql
  38. chown -R mysql:mysql /var/lib/mysql
  39. service mysql start
Add Comment
Please, Sign In to add comment