About 11,300 results
Open links in new tab
  1. How to create a database from shell command in MySQL?

    Mar 11, 2010 · You can use SQL on the command line: echo 'CREATE DATABASE dbname;' | mysql <...> Or you can use mysqladmin: mysqladmin create dbname

  2. Creating a Database Using MySQL Command-Line Client

    Oct 8, 2021 · In this article, I will be designing a database using MySQL CLI and our framework will be JavaEE. MySQL is an RDBMS based on SQL. It is developed and distributed by Oracle Corporation.

  3. 6.5.1 mysql — The MySQL Command-Line Client

    mysql is a simple SQL shell with input line editing capabilities. It supports interactive and noninteractive use. When used interactively, query results are presented in an ASCII-table format. When used noninteractively (for example, as a filter), the result is …

  4. MySQL CREATE DATABASE - Creating a New Database in MySQL - MySQL

    To create a new database in MySQL, you use the CREATE DATABASE statement. The following illustrates the basic syntax of the CREATE DATABASE statement: CREATE DATABASE [ IF NOT EXISTS ] database_name [ CHARACTER SET charset_name] [ COLLATE collation_name]; Code language: SQL (Structured Query Language) ( sql )

  5. Creating Database in Mysql - MySQL Tutorial

    You can create a database in MySQL in two methods: Using MySQL Command Line Client; Using MySQL Workbench; Let’s check these methods one by one. 1) Creating MySQL database using MySQL Command Line Client. For creating a new database via MySQL Command Line Client you need to follow the below steps:

  6. MySQL Create Database Statement - GeeksforGeeks

    Jun 5, 2024 · The MySQL Command Line Client allows you to create a database using the CREATE DATABASE statement. By entering SQL commands directly, users can efficiently manage databases, tables, and data, making it a powerful tool for database administration.

  7. How To Use MySQL From The Command Line [With Examples]

    Apr 1, 2025 · Let’s see some common examples/commands using MySQL from the command line. #1) Mysql create a database command line. MySQL [(none)]> CREATE DATABASE IF NOT exists mysql_concepts; Query OK, 1 row affected (0.006 sec) #2) Show all tables in a database

  8. How to create a MySQL database from the command line

    Jun 6, 2020 · To create a MySQL database from the command line, you can use mysql command-line client. Here is a step-by-step procedure to create and populate a MySQL database using mysql client from the command line.

  9. MySQL: Create Database - Command Line - ShellHacks

    Dec 27, 2016 · How to create a new database and user in MySQL from the command-line in Linux. MySQL CREATE DATABASE syntax and examples.

  10. How to Create a MySQL Database Using CLI & cPanel

    Feb 21, 2025 · In this guide, you can learn how to create a MySQL database using two methods: the command line interface (CLI) and cPanel MySQL Database Wizard. You can then being using the database or connect your software.

Refresh