XAMPPを使わず、Mroonga単体をインストールしてみる。
手順が正しいか不明だが、とりあえず手っ取り早く環境を作る。
手順が正しいか不明だが、とりあえず手っ取り早く環境を作る。
rootパスワード変更
今の時点ではrootパスワードが設定されていないので、
パスワードを設定しておく。
※ mariadbを起動していなければ起動しrootでログインしておく。(mariadbdも未起動であればこちらも起動)
実行結果:
テスト:
"mariadb -u root -p" で実行し、設定したパスワードでログインできることを確認。
パスワードを設定しておく。
※ mariadbを起動していなければ起動しrootでログインしておく。(mariadbdも未起動であればこちらも起動)
ALTER USER 'root'@'localhost' IDENTIFIED BY 'パスワード';
実行結果:
1 2 3 4 5 6 7 8 9 10 11 12 13 | C:\mariadb-10.6.7-winx64\bin>mariadb -u root Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 5 Server version: 10.6.7-MariaDB Source 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. MariaDB [(none)]> alter user 'root' @ 'localhost' identified by 'pswd' ; Query OK, 0 rows affected (0.013 sec) MariaDB [(none)]> |
テスト:
"mariadb -u root -p" で実行し、設定したパスワードでログインできることを確認。
1 2 3 4 5 6 7 8 9 | C:\mariadb-10.6.7-winx64\bin>mariadb -u root -p Enter password: **** Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 6 Server version: 10.6.7-MariaDB Source 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. |
Mroonga, MariaDB, MySQL
0 件のコメント:
コメントを投稿