Nouvelle Install sur RPI 4 2go - Mysql failed

Bonjour, tout est dans le titre.

Fresh install de Yunohost sur un RPI4 en 2go. Mysql ne fonctionne pas. J’ai tenté 2 fois mais rien n’y fait.

Evidemment j’ai pris la dernière fois dispo sur le site 4.1.7.1

L’erreur en log ça donne :

/var/log/mysql/error.log
2021-02-04 4:23:45 0 [Note] InnoDB: Using Linux native AIO
2021-02-04 4:23:45 0 [Note] InnoDB: The first innodb_system data file ‘ibdata1’ did not exist. A new tablespace will be created!
2021-02-04 4:23:45 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-02-04 4:23:45 0 [Note] InnoDB: Uses event mutexes
2021-02-04 4:23:45 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-02-04 4:23:45 0 [Note] InnoDB: Number of pools: 1
2021-02-04 4:23:46 0 [Note] InnoDB: Using generic crc32 instructions
2021-02-04 4:23:46 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2021-02-04 4:23:46 0 [Note] InnoDB: Completed initialization of buffer pool
2021-02-04 4:23:46 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-02-04 4:23:46 0 [Note] InnoDB: Setting file ‘./ibdata1’ size to 12 MB. Physically writing the file full; Please wait …
2021-02-04 4:23:46 0 [Note] InnoDB: File ‘./ibdata1’ size is now 12 MB.
2021-02-04 4:23:46 0 [Note] InnoDB: Setting log file ./ib_logfile101 size to 50331648 bytes
2021-02-04 4:23:46 0 [Note] InnoDB: Setting log file ./ib_logfile1 size to 50331648 bytes
2021-02-06 17:15:55 0 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2021-02-06 17:15:55 0 [Note] InnoDB: New log files created, LSN=44897
2021-02-06 17:15:55 0 [Note] InnoDB: Doublewrite buffer not found: creating new
2021-02-06 17:15:59 0 [Note] InnoDB: Doublewrite buffer created
2021-02-06 17:15:59 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-02-06 17:15:59 0 [Note] InnoDB: Creating foreign key constraint system tables.
2021-02-06 17:16:00 0 [Note] InnoDB: Creating tablespace and datafile system tables.
2021-02-06 17:16:01 0 [Note] InnoDB: Creating sys_virtual system tables.
2021-02-06 17:16:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-02-06 17:16:02 0 [Note] InnoDB: Setting file ‘./ibtmp1’ size to 12 MB. Physically writing the file full; Please wait …
2021-02-06 17:16:02 0 [Note] InnoDB: File ‘./ibtmp1’ size is now 12 MB.
2021-02-06 17:16:02 0 [Note] InnoDB: Waiting for purge to start
2021-02-06 17:16:02 0 [Note] InnoDB: 10.3.27 started; log sequence number 0; transaction id 7
2021-02-06 17:16:02 0 [Note] Plugin ‘FEEDBACK’ is disabled.
2021-02-06 17:16:02 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2021-02-06 17:16:04 0 [ERROR] Can’t open and lock privilege tables: Table ‘mysql.servers’ doesn’t exist
2021-02-06 17:16:05 0 [Note] Server socket created on IP: ‘127.0.0.1’.
2021-02-06 17:16:05 0 [ERROR] Fatal error: Can’t open and lock privilege tables: Table ‘mysql.user’ doesn’t exist

Merci ! :slight_smile:

Bonsoir,

Il me semble qu’il y a un soucis sur les dernières version basée sur le architecture arm voir par exemple le message de @Aleks :

Je te laisse tester avec l’image de la 4.0.8 pour voir si le problème persiste.

Amicalement,
Gaëtan.

1 Like

Salut,
J’ai eu un problème similaire aujourd’hui.
Pour moi, cette manip’ a fonctionné :
sudo apt --reinstall install mariadb-client-10.3 mariadb-client-core-10.3 mariadb-common mariadb-server mariadb-server-10.3 mariadb-server-core-10.3

2 Likes

Bonjour à tous,

Install à partir de la 4.0.8 et c’est ok. Puis maj de Yunohost et tout roule…

Merci !

Bonsoir,

C’est noté, n’hésites pas à mettre ton message comme solutionné.

Amicalement,
Gaëtan.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.