MySQL Useful Skills in Command Prompt

Hello guys, in this digital world, hundreds of thousands of data runs in various fields. For a clerk who can operate data using certain query languages, he will get a high work efficiency as well as a promotion probably. Therefore, why not study a Structured Query Language when you are a student? If you are trapped in how to start to learn, don’t worry!! I will tell you how to begin your MySQL learning as an absolute beginner in detail.

How to build mysql service?

  1. First, you should download MySQL software. Also, you can follow a graphical instructions here. The reason why we should download the MySQL Software is we want to build a mysql service in our local computer.

  2. But here, we do not need this visuable workbench. Because I believe that using command prompt to execute mysql syntax, you will get well-trained.

  3. Since you are already set a password to connect the server, and you do not want to enter it every time, I strongly recommand you to reset your login authentication with next several steps.

    1. Open Command Prompt as a administrator.

    2. Change the directory to “bin” folder, using cd C:\Program Files\MySQL\MySQL Server 8.0\bin (Notice: this location is on my computer)

    3. Next, input mysqld --skip-grant-tables.
      Start_mysql_in_Command_Prompt_1.png

    4. And then, input mysql -u root -p. If you are asked to enter your password, just press Enter to skip this step.
      Start_mysql_in_Command_Prompt_2.png

  4. Until now you can start your mysql journey in Command Prompt.

In the end, hopefully, what I post helps you!!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值