MariaDB on raspberry pi 4

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

I try to get MariaDB running on my pi 4 but I always run into following error message: phabricatordb_1 | 2020-07-31 06:47:17+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.5.4+maria~focal started. phabricatordb_1 | 2020-07-31 06:47:17+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’ phabricatordb_1 | 2020-07-31 06:47:17+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.5.4+maria~focal started. phabricatordb_1 | 2020-07-31 06:47:18+00:00 [Note] [Entrypoint]: Initializing database files phabricatordb_1 | 2020-07-31 6:47:18 0 [ERROR] InnoDB: Corrupted page [page id: space=0, page number=0] of datafile ‘./ibdata1’ could not be found in the doublewrite buffer. phabricatordb_1 | 2020-07-31 6:47:18 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption phabricatordb_1 | 2020-07-31 6:47:18 0 [ERROR] Plugin ‘InnoDB’ init function returned error. phabricatordb_1 | 2020-07-31 6:47:18 0 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed. phabricatordb_1 | 2020-07-31 6:47:18 0 [ERROR] Unknown/unsupported storage engine: InnoDB phabricatordb_1 | 2020-07-31 6:47:18 0 [ERROR] Aborting phabricatordb_1 | phabricatordb_1 | Installation of system tables failed! Examine the logs in phabricatordb_1 | /var/lib/mysql/ for more information. phabricatordb_1 | phabricatordb_1 | The problem could be conflicting information in an external phabricatordb_1 | my.cnf files. You can ignore these by doing: phabricatordb_1 | phabricatordb_1 | shell> /usr/bin/mysql_install_db –defaults-file=~/.my.cnf phabricatordb_1 | phabricatordb_1 | You can also try to start the mysqld daemon with: phabricatordb_1 | phabricatordb_1 | shell> /usr/sbin/mysqld –skip-grant-tables –general-log & phabricatordb_1 | phabricatordb_1 | and use the command line tool /usr/bin/mysql phabricatordb_1 | to connect to the mysql database and look at the grant tables: phabricatordb_1 | phabricatordb_1 | shell> /usr/bin/mysql -u root mysql phabricatordb_1 | mysql> show tables; phabricatordb_1 | phabricatordb_1 | Try ‘mysqld –help’ if you have problems with paths. Using phabricatordb_1 | –general-log gives you a log in /var/lib/mysql/ that may be helpful. phabricatordb_1 | phabricatordb_1 | The latest information about mysql_install_db is available at phabricatordb_1 | https://mariadb.com/kb/en/installing-system-tables-mysql_install_db phabricatordb_1 | You can find the latest source at https://downloads.mariadb.org and phabricatordb_1 | the maria-discuss email list at https://launchpad.net/~maria-discuss phabricatordb_1 | phabricatordb_1 | Please check all of the above before submitting a bug report phabricatordb_1 | at https://mariadb.org/jira phabricatordb_1 | I tried a local mount and also create a volume as storage but both variants have the same result. The configuration in the compose file looks like this: phabricatordb: image: mariadb:10.5.4-focal restart: always volumes: – ./phabricatordb:/var/lib/mysql environment: – MYSQL_ROOT_PASSWORD=${NONEEDFORYOUTOKNOW} networks: – service submitted by /u/buddyspencer [link] [comments]

X ITM Cloud News

Patricia

Leave a Reply

Next Post

Automate virtual machine deployment with Ansible: Design

Fri Jul 31 , 2020
Spread the love           Automate virtual machine deployment with Ansible: Design Image Image by Free-Photos from Pixabay The first of three articles to help you automate VM creation on Red Hat Virtualization by using Ansible. This article focuses on goals, design, and assumptions. Read the full article on redhat.com More Linux […]
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM