Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dan@raspberrypi:~ $ sudo chown -R pi:pi /var/lib/mysql
- dan@raspberrypi:~ $ /usr/sbin/mysqld
- 2021-03-14 18:58:33 0 [Note] /usr/sbin/mysqld (mysqld 10.3.27-MariaDB-0+deb10u1) starting as process 25306 ...
- 2021-03-14 18:58:33 0 [Warning] Can't create test file /var/lib/mysql/raspberrypi.lower-test
- /usr/sbin/mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13 "Permission denied")
- 2021-03-14 18:58:33 0 [ERROR] Aborting
- dan@raspberrypi:~ $ sudo chown -R root:root /var/lib/mysql
- dan@raspberrypi:~ $ /usr/sbin/mysqld
- 2021-03-14 18:59:09 0 [Note] /usr/sbin/mysqld (mysqld 10.3.27-MariaDB-0+deb10u1) starting as process 25811 ...
- 2021-03-14 18:59:10 0 [Warning] Can't create test file /var/lib/mysql/raspberrypi.lower-test
- /usr/sbin/mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13 "Permission denied")
- 2021-03-14 18:59:10 0 [ERROR] Aborting
- dan@raspberrypi:~ $ sudo chown -R dan:dan /var/lib/mysql
- dan@raspberrypi:~ $ /usr/sbin/mysqld
- 2021-03-14 18:59:35 0 [Note] /usr/sbin/mysqld (mysqld 10.3.27-MariaDB-0+deb10u1) starting as process 26243 ...
- 2021-03-14 18:59:35 0 [Note] InnoDB: Using Linux native AIO
- 2021-03-14 18:59:35 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 2021-03-14 18:59:35 0 [Note] InnoDB: Uses event mutexes
- 2021-03-14 18:59:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
- 2021-03-14 18:59:35 0 [Note] InnoDB: Number of pools: 1
- 2021-03-14 18:59:35 0 [Note] InnoDB: Using generic crc32 instructions
- 2021-03-14 18:59:35 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
- 2021-03-14 18:59:35 0 [Note] InnoDB: Completed initialization of buffer pool
- 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().
- 2021-03-14 18:59:35 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
- 2021-03-14 18:59:35 0 [Note] InnoDB: Creating shared tablespace for temporary tables
- 2021-03-14 18:59:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
- 2021-03-14 18:59:35 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
- 2021-03-14 18:59:35 0 [Note] InnoDB: 10.3.27 started; log sequence number 678347705; transaction id 665299
- 2021-03-14 18:59:35 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
- 2021-03-14 18:59:35 0 [Note] Plugin 'FEEDBACK' is disabled.
- 2021-03-14 18:59:35 0 [Note] InnoDB: Buffer pool(s) load completed at 210314 18:59:35
- 2021-03-14 18:59:35 0 [Note] Server socket created on IP: '::'.
- 2021-03-14 18:59:35 0 [ERROR] Can't start server : Bind on unix socket: Permission denied
- 2021-03-14 18:59:35 0 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysqld/mysqld.sock ?
- 2021-03-14 18:59:35 0 [ERROR] Aborting
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement