MySQLが壊れた時(自分用)

107 View

https://office54.net/iot/app/xampp-mysql-error

↑上記サイトよりMySQLを直す

↑その後、上記サイトより、管理者にパスワードを設定して元通り。

一応mysqlのrootアカウントにパスワードを設定できているかコマンドで確認するなら、
xamppからshellをひらき、

mysql -u root -p

のあとに設定したパスワードを入力し、

# mysql -u root -p
Enter password: ****
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 37
Server version: 10.4.32-MariaDB mariadb.org binary distribution

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

Welcomeがでてきたら成功👍

1件の返信

  1. Zei より:

    私も爆速で壊れました汗
    ので、この記事に助けていただきました~
    ありがとうございました。

コメントを残す