How to open mysql in Terminal - MySQL
Hello every one, in this content i wanna tell you how to open mysql in terminal. Check this out!.
I. First Open terminal, you can search in mac with use spaces bar (cmd + space) or in windows you can search in windows panel and search terminal.
II. Second, you can write in terminal like this :
mysql -u root -p
- After you get password screen in your terminal like this.
By default mysql you can press enter in mysql. You can give a password in your mysql, but very hard to access your mysql to write or create table. So, don't give if you not understand
III. Third, you can create database in your mysql on terminal like this.
- And to create table like this.
IV. Last, you can insert the content to your table with TablePlus, DataGrip, Others code editor. So, enjoy in my blog and thanks your reading my blog. See You.