ACCUEIL
Ce blog est purement technique et totalement réservé au réseau RedCap.
Merci de votre compréhension.
Linux – MySQL and MariaDB pid-file folder issues – how to fix
Linux – MySQL and MariaDB pid-file folder issues – how to fix
https://serverfault.com/questions/480889/mysql-server-pid-file-could-not-be-found
https://www.hyperois.com/members/index.php/knowledgebase/40/How-to-solve-MySQL-is-running-but-PID-file-could-not-be-found.html
https://mariadb.com/kb/en/innodb-recovery-modes/
https://mariadb.com/kb/en/innodb-system-variables/#innodb_corrupt_table_action
http://blackbird.si/mysql-corrupted-innodb-tables-recovery-step-by-step-guide/
MySQL – Changer le mot de passe root perdu
Si l'on a perdu le mot de passe root de MySQL, il est quand même possible d'en fixer un nouveau. Pour cela, il faut bien sûr contourner l'étape d'authentification:
/etc/init.d/mysql stop
mysqld_safe --skip-grant-tables --skip-networking &
mysql -u rootmysql> use mysql;
mysql> update user set password=PASSWORD(”nouveaumotdepasse”) where user=’root’;
mysql> flush privileges;
mysql> quit/etc/init.d/mysql stop
/etc/init.d/mysql start
mysql -u root -p # connexion avec le nouveau mot de passe