MariadDB error

Hello guys i'm trying to install mariadb on openwrt 21.02.0-rc4 r16256-2d5ee43dc6 .
when I install it gives me this error:


 root@OpenWrt:/usr# mysql_install_db --force
Could not find plugin directory.
Will continue with "/usr/lib/mariadb/plugin".
Installing MariaDB/MySQL system tables in '/srv/mysql/' ...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system


Two all-privilege accounts were created.
One is root@localhost, it has no password, but you need to
be system 'root' user to connect. Use, for example, sudo mysql
The second is root@localhost, it has no password either, but
you need to be the system 'root' user to connect.
After connecting you can set the password, if you would need to be
able to connect as any of these users with a password and without sudo

See the MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.

You can start the MariaDB daemon with:
cd '/usr' ; /usr/bin/mysqld_safe --datadir='/srv/mysql/'

You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/mysql-test' ; perl mysql-test-run.pl

Please report any problems at http://mariadb.org/jira

The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/

root@OpenWrt:/usr# mysql_install_db --force
Could not find plugin directory.
Will continue with "/usr/lib/mariadb/plugin".
Installing MariaDB/MySQL system tables in '/srv/mysql/' ...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system


Two all-privilege accounts were created.
One is root@localhost, it has no password, but you need to
be system 'root' user to connect. Use, for example, sudo mysql
The second is root@localhost, it has no password either, but
you need to be the system 'root' user to connect.
After connecting you can set the password, if you would need to be
able to connect as any of these users with a password and without sudo

See the MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.

You can start the MariaDB daemon with:
cd '/usr' ; /usr/bin/mysqld_safe --datadir='/srv/mysql/'

You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/mysql-test' ; perl mysql-test-run.pl

Please report any problems at http://mariadb.org/jira

The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/

root@OpenWrt:/usr# /etc/init.d/mysqld restart
2021-09-27 18:21:22 0 [Warning] Could not open mysql.plugin table. Some options may be missing from the help text
2021-09-27 18:21:22 0 [Warning] Could not open mysql.plugin table. Some options may be missing from the help text
2021-09-27 18:21:22 0 [Warning] Could not open mysql.plugin table. Some options may be missing from the help text
root@OpenWrt:/usr# mysql -u root
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Can someone help me get over this??

Do you have enough free storage on /usr/lib/ (generally part of your overlay)? Even an empty mysql/ mariadb database is generally in the 3-figure MB range.

@slh

Mem != disk

?? I didn't understand

Still showing ram, not disk.

Please post the output of df -h