Home > Database > Mysql Tutorial > body text

no database selected means

藏色散人
Release: 2020-03-31 10:29:22
Original
35899 people have browsed it

no database selected means

What does no database selected mean?

is because you did not select the database where the newly created table is located. no database selected means that no database was selected.

Recommended: "mysql video tutorial"

Solution: Use the use statement before creating the table, format: use database_name, so that the database is opened and you can Database operations.

no database selected means

Extended information:

The SQL language used by MySQL is the most commonly used standardized language for accessing databases. MySQL software adopts a dual licensing policy and is divided into community version and commercial version. Due to its small size, fast speed, low total cost of ownership, and especially the characteristics of open source, MySQL is generally chosen as the website database for the development of small and medium-sized websites.

The above is the detailed content of no database selected means. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!