MariaDB commands
``` MariaDB command
SHOW databases; : Prints out the databases we can access.
USE {database_name}; : Set to use the database named {database_name}.
SHOW tables; : Prints out the available tables inside the current
database.
SELECT * FROM {table_name}; : Prints out all the data from the table {table_name}.
```
``` mysql command
mysql -h hostname -P port -u username
```
Comments
Post a Comment