1

The screenshots explain everything, first I try to start it, and it won't, so I check the status, then I check the logs.

error enter image description here enter image description here

After following a number of previous suggestions that I founder around StackExchange, my.cnf contents are:

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd
performance_schema=off
innodb_buffer_pool_size=64MB
innodb_purge_threads=0

[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid

#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
User
  • 1,365
  • 3
  • 12
  • 17

2 Answers2

1

Change your configuration file using a smaller value for innodb_buffer_pool_size.

For example, use innodb_buffer_pool_size = 8M

shodanshok
  • 44,038
  • 6
  • 98
  • 162
0

This post might help you. Basically you are running out of memory. Try to lower down max_connection variable and other parameters.

https://dba.stackexchange.com/questions/1927/why-does-mysql-say-im-out-of-memory

antimatter
  • 209
  • 1
  • 7