Advertisement
danpacu2

proprietarios varios

Mar 14th, 2021
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.81 KB | None | 0 0
  1. dan@raspberrypi:~ $ sudo chown -R pi:pi /var/lib/mysql
  2. dan@raspberrypi:~ $ /usr/sbin/mysqld
  3. 2021-03-14 18:58:33 0 [Note] /usr/sbin/mysqld (mysqld 10.3.27-MariaDB-0+deb10u1) starting as process 25306 ...
  4. 2021-03-14 18:58:33 0 [Warning] Can't create test file /var/lib/mysql/raspberrypi.lower-test
  5. /usr/sbin/mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13 "Permission denied")
  6. 2021-03-14 18:58:33 0 [ERROR] Aborting
  7.  
  8. dan@raspberrypi:~ $ sudo chown -R root:root /var/lib/mysql
  9. dan@raspberrypi:~ $ /usr/sbin/mysqld
  10. 2021-03-14 18:59:09 0 [Note] /usr/sbin/mysqld (mysqld 10.3.27-MariaDB-0+deb10u1) starting as process 25811 ...
  11. 2021-03-14 18:59:10 0 [Warning] Can't create test file /var/lib/mysql/raspberrypi.lower-test
  12. /usr/sbin/mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13 "Permission denied")
  13. 2021-03-14 18:59:10 0 [ERROR] Aborting
  14.  
  15. dan@raspberrypi:~ $ sudo chown -R dan:dan /var/lib/mysql
  16. dan@raspberrypi:~ $ /usr/sbin/mysqld
  17. 2021-03-14 18:59:35 0 [Note] /usr/sbin/mysqld (mysqld 10.3.27-MariaDB-0+deb10u1) starting as process 26243 ...
  18. 2021-03-14 18:59:35 0 [Note] InnoDB: Using Linux native AIO
  19. 2021-03-14 18:59:35 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
  20. 2021-03-14 18:59:35 0 [Note] InnoDB: Uses event mutexes
  21. 2021-03-14 18:59:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
  22. 2021-03-14 18:59:35 0 [Note] InnoDB: Number of pools: 1
  23. 2021-03-14 18:59:35 0 [Note] InnoDB: Using generic crc32 instructions
  24. 2021-03-14 18:59:35 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
  25. 2021-03-14 18:59:35 0 [Note] InnoDB: Completed initialization of buffer pool
  26. 2021-03-14 18:59:35 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
  27. 2021-03-14 18:59:35 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
  28. 2021-03-14 18:59:35 0 [Note] InnoDB: Creating shared tablespace for temporary tables
  29. 2021-03-14 18:59:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
  30. 2021-03-14 18:59:35 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
  31. 2021-03-14 18:59:35 0 [Note] InnoDB: 10.3.27 started; log sequence number 678347705; transaction id 665299
  32. 2021-03-14 18:59:35 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
  33. 2021-03-14 18:59:35 0 [Note] Plugin 'FEEDBACK' is disabled.
  34. 2021-03-14 18:59:35 0 [Note] InnoDB: Buffer pool(s) load completed at 210314 18:59:35
  35. 2021-03-14 18:59:35 0 [Note] Server socket created on IP: '::'.
  36. 2021-03-14 18:59:35 0 [ERROR] Can't start server : Bind on unix socket: Permission denied
  37. 2021-03-14 18:59:35 0 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysqld/mysqld.sock ?
  38. 2021-03-14 18:59:35 0 [ERROR] Aborting
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement