Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to create database and user in mySQL database

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article shows you how to create databases and users in the mySQL database, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

MySQL database systems can support many different databases, and typically, one database is required for each application. In the Book-O-Rama example, the database is named books.

Creating a database is the easiest part. At the mySQL command prompt, enter the following command:

MySQL > create datebase dbname

You should use the desired database name to "dbname" the string. In the Book-O-Rama example, we will create a database called books. You should see a response like this (execution time varies from machine to machine):

Query ok,1 row affected (0.0 sec)

If the appeal field appears, it means everything is fine. If you don't get a response, be sure to enter a semicolon after the above command line, which will tell mySQL that the command has been entered and it's time to execute the command.

The above is how to create databases and users in the mySQL database. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report