terminal

Show Tables MySql Terminal Commands

Show Tables MySql Terminal Commands

If you want to see the tables in the database use this command. show tables; Complete Cheat Sheet https://gist.github.com/hofmannsven/9164408

Create A New Database Terminal Commands

Create A New Database Terminal Commands

If you want to create a new database in terminal enter the following command. create database [database]; Complete Cheat Sheet https://gist.github.com/hofmannsven/9164408

Determine What Database Is In Use MySql Terminal Commands

Determine What Database Is In Use MySql Terminal Commands

If you want to know what database that you are in you can use this terminal command. select database(); Complete Cheat Sheet https://gist.github.com/hofmannsven/9164408

Select A Database Terminal Command

Select A Database Terminal Command

You can select a database to work with by entering the following command in terminal. use [database]; Complete Cheat Sheet https://gist.github.com/hofmannsven/9164408

Access a Database MySQL Terminal Command

Access a Database MySql Terminal Command

If you’re a developer working with databases, you’re probably familiar with MySQL – an open-source relational database management system. While there are many ways to access a MySQL database, one of the most straightforward methods is through the MySQL terminal command. To access a MySQL database through the terminal, follow these simple steps: Open your Read More

Show all databases in MySql Terminal Command

Show all databases in MySql Terminal Command

In order to show all databases in your terminal enter the following code. show databases; Complete Cheat Sheet https://gist.github.com/hofmannsven/9164408

Access MySql Terminal Commands

Access MYSQL Terminal Commands

In order to access your the mysql part in your terminal you will enter something like this. Access monitor: mysql -u [username] -p; (will prompt for password) This will get you logged into the mysql part in your terminal. Complete Cheat Sheet https://gist.github.com/hofmannsven/9164408