1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Ubuntu 15.04(vivid)でMariaDBをインストールするときのメモ

1
Last updated at Posted at 2015-07-04

MySQLがインストールされておらず、MariaDBをインストールした直後の状態から説明。

まずはログイン

mysqlと操作どころかコマンドも変わらないので以下コマンドを実行。
mysql -u root -p
パスワードを求められるので、ubuntuと入力するとroot権限でログインできる。
ログインしたら以下のコマンドでちゃんとパスワードを変更しておきましょう。

update user set password=PASSWORD("任意のパスワード") where User='root';
flush privileges;
quit```

続いてMariaDBを再起動
``` sudo service mysql restart```

以上
P.S. もしかしたら追記するかもしれない。
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?