0
0

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.

コマンドプロンプトでMySQLサーバーの起動やログインをする方法

Last updated at Posted at 2020-09-22

プログラミング学習の記録だよー:v_tone2:

MySQLサーバーの起動

まず、cmdを「管理者として実行」
黒い画面が出てきたら
MySQL server 8.0の場合:
--起動する
cmd>net start mySQL80

--停止する
cmd>net stop mySQL80

MySQLのログイン

今度は、「管理者として実行」じゃなくても良いですが、cmdを起動する

cmd>mysql -u(ユーザー名[例:root]) -p(パスワード)

ログアウトは

cmd>exit;

だけでOK~

以上だよお~

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?