Home > Database > Mysql Tutorial > MySQL查询所有数据库表出错_MySQL

MySQL查询所有数据库表出错_MySQL

WBOY
Release: 2016-06-01 13:02:16
Original
1137 people have browsed it

1、错误描述

1 queries executed, 0 success, 1 errors, 0 warnings

查询:show tables

错误代码: 1046
No database selected

执行耗时   : 0 sec
传送时间   : 0 sec
总耗时      : 0 sec
Copy after login
2、错误原因

show tables;

3、解决办法

use test;

show tables;

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