简体   繁体   English

导入数据库时​​看不到表格

[英]Can't see tables while importing database

Why can't I see tables while I am importing database in phpmyadmin. 在phpmyadmin中导入数据库时​​,为什么看不到表格。 It shows me success but then still I am not able to see any tables. 它显示了我的成功,但是仍然看不到任何表格。 Though if I run any query it does show me the result. 尽管如果我运行任何查询,它的确会向我显示结果。 What is the problem? 问题是什么? I have tried finding answers online but couldn't find anything. 我尝试过在线查找答案,但找不到任何东西。

Try clicking on another database to see if it refreshes. 尝试单击另一个数据库以查看它是否刷新。 Also check the file config.inc.php to see if you tables are being hidden. 还要检查文件config.inc.php以查看表是否被隐藏。 Search for a line similar to 搜索类似的行

$cfg['Servers'][$i]['hide_db'] = 'your-db-name'; $ cfg ['Servers'] [$ i] ['hide_db'] ='您的数据库名称';

The question is unanswered. 这个问题没有答案。 Sorry had to write. 对不起,不得不写。

Are you in the correct database? 您在正确的数据库中吗? You can use 您可以使用

show databases

to find out all databases in your MySQL. 找出MySQL中的所有数据库。 And you can use 你可以使用

SELECT DATABASE()

to find out your current database. 找出您当前的数据库。

I am thinking you might have the database tables created in one database that is not your default database. 我认为您可能在不是您的默认数据库的一个数据库中创建了数据库表。

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM