![Запуск MariaDB / MySQL не удался: [ОШИБКА] Невозможно создать IP-сокет: временная ошибка в разрешении имени](https://rvso.com/image/776675/%D0%97%D0%B0%D0%BF%D1%83%D1%81%D0%BA%20MariaDB%20%2F%20MySQL%20%D0%BD%D0%B5%20%D1%83%D0%B4%D0%B0%D0%BB%D1%81%D1%8F%3A%20%5B%D0%9E%D0%A8%D0%98%D0%91%D0%9A%D0%90%5D%20%D0%9D%D0%B5%D0%B2%D0%BE%D0%B7%D0%BC%D0%BE%D0%B6%D0%BD%D0%BE%20%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D1%82%D1%8C%20IP-%D1%81%D0%BE%D0%BA%D0%B5%D1%82%3A%20%D0%B2%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D0%B0%D1%8F%20%D0%BE%D1%88%D0%B8%D0%B1%D0%BA%D0%B0%20%D0%B2%20%D1%80%D0%B0%D0%B7%D1%80%D0%B5%D1%88%D0%B5%D0%BD%D0%B8%D0%B8%20%D0%B8%D0%BC%D0%B5%D0%BD%D0%B8.png)
На моем Debian после обновления с MySQL на MariaDB я больше не могу запустить базу данных. Я получаю следующую ошибку:
2022-04-21 9:53:13 0 [Note] mysqld (mysqld 10.3.34-MariaDB-0+deb10u1) starting as process 30342 ...
2022-04-21 9:53:13 0 [Note] InnoDB: Using Linux native AIO
2022-04-21 9:53:13 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2022-04-21 9:53:13 0 [Note] InnoDB: Uses event mutexes
2022-04-21 9:53:13 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-04-21 9:53:13 0 [Note] InnoDB: Number of pools: 1
2022-04-21 9:53:13 0 [Note] InnoDB: Using generic crc32 instructions
2022-04-21 9:53:13 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2022-04-21 9:53:13 0 [Note] InnoDB: Completed initialization of buffer pool
2022-04-21 9:53:13 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2022-04-21 9:53:14 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-04-21 9:53:14 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-04-21 9:53:14 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-04-21 9:53:14 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2022-04-21 9:53:14 0 [Note] InnoDB: Waiting for purge to start
2022-04-21 9:53:14 0 [Note] InnoDB: 10.3.34 started; log sequence number 230364887; transaction id 89889
2022-04-21 9:53:14 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-04-21 9:53:14 0 [Note] InnoDB: Loading buffer pool(s) from /home/mysql/ib_buffer_pool
2022-04-21 9:53:14 0 [Note] InnoDB: Buffer pool(s) load completed at 220421 9:53:14
2022-04-21 9:53:14 0 [ERROR] Can't create IP socket: Temporary failure in name resolution
2022-04-21 9:53:14 0 [ERROR] Aborting
решение1
У меня в /etc/mysql/my.cnf было
bind-address = localhost
Проблема была устранена, когда я изменил localhost на 127.0.0.1.
bind-address = 127.0.0.1