About 15,600,000 results
Open links in new tab
  1. MySQL CREATE DATABASE Statement - W3Schools

    The CREATE DATABASE statement is used to create a new SQL database. The following SQL statement creates a database called "testDB": Tip: Make sure you have admin privilege before creating any database. Once a database is created, you can check it in the list of databases with the following SQL command: SHOW DATABASES;

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

    This tutorial shows you step by step how to use the MySQL CREATE DATABASE statement to create a new database in the MySQL server.

  3. 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:

  4. MySQL Create Database Statement - GeeksforGeeks

    Jun 5, 2024 · The MySQL CREATE DATABASE statement is used to create a new database. It allows you to specify the database name and optional settings, such as character set and collation, ensuring the database is ready for storing and managing data.

  5. 5.3.1 Creating and Selecting a Database - MySQL

    To make menagerie the current database, use this statement: Database changed. Your database needs to be created only once, but you must select it for use each time you begin a mysql session. You can do this by issuing a USE statement as shown in the example. Alternatively, you can select the database on the command line when you invoke mysql.

  6. How to Create Database in MySQL (Create MySQL Tables)

    Jul 17, 2024 · As SQL beginner, let’s look into the query method first. Here is how to create a database in MySQL: CREATE DATABASE is the SQL command used for creating a database in MySQL. Imagine you need to create a database with name “movies”. You can create a database in MySQL by executing following SQL command.

  7. How To Create A Database In MySQL - Software Testing Help

    Apr 1, 2025 · We will show a step-by-step process to create a database and schema as well. The output should help you understand the fact that schema is synonymous with the database. #1) Open MySQL Workbench for Executing the “Create Database” query. #2) To see the output of the executed query, press the “Refresh” button (as highlighted in the image below).

  8. How to Create a Database in MySQL

    Jun 9, 2023 · If you want to create a new database in MySQL, you can either use an SQL command or follow the steps in an IDE such as MySQL Workbench. Learn how to do it in both ways in this guide. To create a new database in MySQL, you can use the CREATE DATABASE command. The simple version looks like this: The full command has …

  9. MySQL Create Database and Tables - W3Schools

    Learn how to use MySQL CREATE DATABASE and CREATE TABLE statements to create and structure a database. In this tutorial, you'll learn the syntax and options available for the statements and how to use them to create a new database and tables.

  10. MySQL - Create Database: A Beginner's Guide - W3schools

    MySQL CREATE Database Statement. Now, let's learn how to create our very own database in MySQL. The basic command to create a database is surprisingly simple: CREATE DATABASE database_name; Let's break this down: CREATE DATABASE is the command that tells MySQL we want to make a new database.

  11. Some results have been removed
Refresh