Entries list

[ERROR] Failed to open the relay log [ERROR] Could not find target log during relay log initialization [ERROR] Initialized Master_info from [ERROR] Failed to create a new master info file [ERROR] Failed to initialize multi master structures - Aborting

Visiblement, suite à changement de configuration réseau DHCP et nom d'hôte, impossible de lancer le serveur MySQL MariaDB.

Puisque je n'avais pas besoin de la réplication,

en modifiant, le my.ini, et rajoutant :

slave_sql_verify_checksum = OFF

et supprimant : master-xxx.info mysql-relay-xxx.index relay-log-xxx.info

le serveur se relance :

Lire la suite

[ERROR] mysqld.exe: Index for table '.\mysql\db' is corrupt; try to repair it Couldn't repair table: mysql.db

Aie ! C'est le drame, MySQL / MariaDB ne se lance plus sous mon installation XAMPP, et le fichier de log (mysql\data\mysql_error.log), indique :

[ERROR] mysqld.exe: Table '.\mysql\db' is marked as crashed and should be repaired
[ERROR] mysqld.exe: Index for table '.\mysql\db' is corrupt; try to repair it
[ERROR] Couldn't repair table: mysql.db
[ERROR] Fatal error: Can't open and lock privilege tables: Index for table 'db' is corrupt; try to repair it

Lire la suite

SPF mail dns

Après avoir bidouillé les enregistrement des valeurs SPF, dans les enregistrement DNS, les serveurs mails indiquaient :

Authentication-Results: spf=permerror (sender IP is 193.70.108.201)
Received-SPF: PermError (protection.outlook.com: domain of placeoweb.com used an invalid SPF mechanism)

Authentication-Results: spf=softfail (sender IP is 217.70.183.201)
Received-SPF: SoftFail (protection.outlook.com: domain of transitioning placeoweb.com discourages use of 217.70.183.201 as permitted sender)

Lire la suite

Webcam

Les webcams des Pyrénées Orientales (66) et Andorre orientés montagnes pour visionner l'état d'enneigement et le niveau de la neige avant de se déplacer à la montagne.

Lire la suite

Git déplacer dossier ou répertoire et conserver son historique

Pour déplacer un dossier ou un répertoire et conserver son historique git, il ne suffit pas de faire un cliquer glisser ou renommer.

Avec un simple move "mv", git considère que le dossier est supprimé et qu'un nouveau est créé. Ainsi tout l'historique est perdu.

mv anciendossier nouveaudossier
git add nouveaudossier
git remove anciendossier

Il faut donc faire un git move "git mv" :

git mv anciendossier nouveaudossier

Lire la suite