Create a MySQL Database

A database consists of one or more tables.

You will need special CREATE privileges to create or to delete a MySQL database.

Create a MySQL Database Using MySQLi and PDO

The CREATE DATABASE statement is used to create a database in MySQL.

The following examples create a database named “myDB”:

Thanks for reading my article about “ Database Connection In Php With Mysqli Example”. If you like this article do me favor by sharing it with your friends.

Digital Technology Hub