Hi,
In openwrt 19, there is no MySQL server support is given. How I add mysql server support.
Please help.
Thank you in advance.
Hi,
In openwrt 19, there is no MySQL server support is given. How I add mysql server support.
Please help.
Thank you in advance.
mariadb-server
.
Thanks.
So I have installed mariadb-server but it gives me errors.
I also tried to reducing pool_buffer size and it showing memory related issue.
Following are the errors also I am attaching the my my.cnf file.
Installing MariaDB/MySQL system tables in '/etc/mysql' ...
2020-04-08 15:00:48 2012442244 [ERROR] InnoDB: The Auto-extending innodb_system data file '/etc/mysql/ibdata1' is of a different size 0 pages than specified in the .cnf file: initial 1280 pages, max 0 (relevant if non-zero) pages!
2020-04-08 15:00:48 2012442244 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2020-04-08 15:00:48 2012442244 [ERROR] Plugin 'InnoDB' init function returned error.
2020-04-08 15:00:48 2012442244 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2020-04-08 15:00:49 2012442244 [ERROR] mysqld: Out of memory (Needed 130760704 bytes)
2020-04-08 15:00:49 2012442244 [ERROR] mysqld: Out of memory (Needed 98058240 bytes)
2020-04-08 15:00:49 2012442244 [ERROR] Unknown/unsupported storage engine: InnoDB
2020-04-08 15:00:49 2012442244 [ERROR] Aborting
my.cnf
[server]
[mysqld]
#
# * Basic Settings
#
user = root
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /etc/mysql
tmpdir = /mnt/data/mysql/
skip-external-locking
bind-address = 127.0.0.1
#
# * Fine Tuning
#
key_buffer_size = 16M
max_allowed_packet = 16M
thread_stack = 192K
thread_cache_size = 8
innodb_use_native_aio = 0
innodb_buffer_pool_size = 10M
innodb_file_per_table=8
innodb_data_home_dir = /etc/mysql/
innodb_data_file_path=ibdata1:20M:autoextend
myisam_recover_options = BACKUP
#
# * Query Cache Configuration
#
query_cache_limit = 1M
query_cache_size = 16M
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
Please help if any one have idea whats wrong?
Am I on right track?
On which device do you want to install the MariaDB server?
We have dedicated device of MT7620 controller with 32/64 MB RAM and flash 64/128 MB size.
hello [rjamdade025]:
i got the same problems with,did you solved it?
Thank you in advance.