For earlier versions of MySQL, you can combine the user creation and granting privileges into a single statement, but the IDENTIFIED BY clause needs to be used correctly.
前々回から何回かに分けて、 MySQLのユーザー認証について説明しています。 「第17回MySQLのユーザー管理について [その1]」では、 「ホスト名」、 「ユーザー」、 「パスワード」 についてと、 mysql. user テーブルについて説明しました。
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する