Blog Bustle 14/02/2020
Mysql is free and open source relational database management system(RDBMS). We can create multiple databases into Mysql server and we can show all databases in mysql server from command line.
Step 1: go to mysql folder directory.
Step 2: then go to bin directory inside mysql.
Step 3: Connect Mysql server. Enter command mysql -u [username] -p[password]
Step 4: Enter password
Step 5: write query "show databases;" and hit enter
So these were the steps of mysql command show databases.
if we want to check database exists or not then mysql command show databases will be
show databases like 'database_name';
for example if we want to check student database exists or not in mysql server then mysql command show databases will be
show databases like 'student';
We create databases to store data.
Mysql uses Apache web server. Apache http server is free open source web server software.
We create tables inside database in mysql server to store data and We use sql to write query in Mysql.
We can create and delete database in mysql server by sql query. Tables can also be created inside database by mysql query.
If we run any sql query in mysql server which is related to specific database then first we have to select that database after that we run sql query.
We can add multiple users to single database.
We can also give permission to users about what are their tasks.
Sql Insert Query
Sql Update Query
Sql & Mysql difference
Sql Delete Query
Sql Select Query
Mysql no database selected error 1046
Sql Create Table
Sql Drop Table
Sql Alter Query(add, drop, modify & change column)
Sql Truncate Table
Sql Insert Into Query
Sql Rename Table
Sql DISTINCT Keyword
Sql WHERE Clause
Sql Like operator
Sql AND operator
Sql OR operator
Sql NOT operator
Combining Sql AND, OR & NOT operator
Sql IN operator
Sql NOT IN operator
Sql Count, Sum, Avg, Min, Max
Sql Order By clause
Sql Limit clause
Sql BETWEEN operator
Sql Group By clause
Sql Aliases
Sql Inner Join
Sql Left Join
Sql Right Join
Mysql Create Database
Mysql Create Database Command Line
Mysql Delete Database
Mysql Delete Database Command Line
Mysql Show Databases
Mysql Show Databases Command Line
Mysql Select Database
Mysql Select Database Command Line
Mysql Backup Database
Mysql Import Database
Mysql Copy Database
Mysql Rename Database
Truncate Database Mysql