@lonzo
To create a database using XAMPP shell, you can follow these steps:
- Open the XAMPP control panel and start both Apache and MySQL services.
- Open the XAMPP shell by clicking on the 'Shell' button in the XAMPP control panel.
- Type the following command in the XAMPP shell to log in to the MySQL server:
- Enter the MySQL root password when prompted.
- To create a new database, use the following command:
1
|
CREATE DATABASE yourdatabasename;
|
Replace yourdatabasename
with the name you want to give your database.
- You can verify that the database has been created by typing the following command:
Your new database should now be created and ready to use.