Skip to content

mysql errors are coming #39

@ashfaqsw

Description

@ashfaqsw

Here is log detail:

mysql | 2021-06-09 09:31:51+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' mysql | 2021-06-09 09:31:51+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.10+maria~focal started. mysql | 2021-06-09 09:31:51+00:00 [Note] [Entrypoint]: Initializing database files mysql | 2021-06-09 9:31:51 0 [ERROR] mysqld: File '/var/lib/mysql/aria_log_control' not found (Errcode: 13 "Permission denied") mysql | 2021-06-09 9:31:51 0 [ERROR] mysqld: Got error 'Can't open file' when trying to use aria control file '/var/lib/mysql/aria_log_control' mysql | 2021-06-09 9:31:51 0 [ERROR] Plugin 'Aria' init function returned error. mysql | 2021-06-09 9:31:51 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed. mysql | 2021-06-09 9:31:51 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable mysql | 2021-06-09 9:31:51 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable mysql | 2021-06-09 9:31:51 0 [ERROR] Plugin 'InnoDB' init function returned error. mysql | 2021-06-09 9:31:51 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. mysql | 2021-06-09 9:31:51 0 [ERROR] Failed to initialize plugins. mysql | 2021-06-09 9:31:51 0 [ERROR] Aborting mysql | mysql | Installation of system tables failed! Examine the logs in mysql | /var/lib/mysql/ for more information. mysql | mysql | The problem could be conflicting information in an external mysql | my.cnf files. You can ignore these by doing: mysql | mysql | shell> /usr/bin/mysql_install_db --defaults-file=~/.my.cnf mysql | mysql | You can also try to start the mysqld daemon with: mysql | mysql | shell> /usr/sbin/mysqld --skip-grant-tables --general-log & mysql | mysql | and use the command line tool /usr/bin/mysql mysql | to connect to the mysql database and look at the grant tables: mysql | mysql | shell> /usr/bin/mysql -u root mysql mysql | mysql> show tables; mysql | mysql | Try 'mysqld --help' if you have problems with paths. Using mysql | --general-log gives you a log in /var/lib/mysql/ that may be helpful. mysql | mysql | The latest information about mysql_install_db is available at mysql | https://mariadb.com/kb/en/installing-system-tables-mysql_install_db mysql | You can find the latest source at https://downloads.mariadb.org and mysql | the maria-discuss email list at https://launchpad.net/~maria-discuss mysql | mysql | Please check all of the above before submitting a bug report mysql | at https://mariadb.org/jira mysql | mysql exited with code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions