Temat: Problem z konfiguracją mariadb
Nie wiem czemu ale nie jestem w stanie skonfigurować servera mariadb cały czas krzyczy że ma mało pamięci a z tym zgodzić się nie mogę
root@OpenWrt:~# nano /etc/mysql/conf.d/50-server.cnf
root@OpenWrt:~# mysql_install_db --force --basedir=/usr
Installing MariaDB/MySQL system tables in '/mnt/dysk/mysql' ...
2020-02-05 18:12:46 2012909188 [ERROR] InnoDB: Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB.
2020-02-05 18:12:46 2012909188 [Warning] InnoDB: Linux Native AIO disabled.
2020-02-05 18:12:47 2012909188 [ERROR] mysqld: Out of memory (Needed 130760704 bytes)
2020-02-05 18:12:47 2012909188 [ERROR] mysqld: Out of memory (Needed 98058240 bytes)
2020-02-05 18:12:47 2012909188 [ERROR] mysqld: Out of memory (Needed 73531392 bytes)
2020-02-05 18:12:47 2012909188 [ERROR] mysqld: Out of memory (Needed 55148544 bytes)
2020-02-05 18:12:47 2012909188 [ERROR] mysqld: Out of memory (Needed 41361408 bytes)
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:
'/usr/bin/mysqladmin' -u root password 'new-password'
'/usr/bin/mysqladmin' -u root -h OpenWrt password 'new-password'
Alternatively you can run:
'/usr/bin/mysql_secure_installation'
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
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='/mnt/dysk/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/Na żadnym linuxie nie miałem problemu z konfigurscją servera Mysql jedynie na openwrt