mysql ユーザ追加
Notice: Trying to access array offset on value of type bool in /var/www/html/wordpress/wp-content/plugins/internal-link-building-plugin/internal_link_building.php on line 86
Notice: Trying to access array offset on value of type bool in /var/www/html/wordpress/wp-content/plugins/internal-link-building-plugin/internal_link_building.php on line 105
root ログイン
rootユーザーでログインをする。 (rootユーザでのログインと初期パスワード設定についてはこちらhttps://aqua-server.tech/post-152/)
ユーザ追加
create user user_name@localhost identified by 'password'
ユーザ追加の確認
use mysql;
select * from user;
データベース作成
create database database_name;
権限追加
GRANT ALL PRIVILEGES ON database_name.* TO 'user_name'@'localhost';
反映
FLUSH PRIVILEGES;
ディスカッション
コメント一覧
まだ、コメントがありません