我遇到了 Windows 命令提示符和 MySQL 的奇怪问题。不知何故,命令提示符无法正确显示宽表。我有简单的表:
+-------------------+-------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------------------+-------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| email | char(128) | NO | | NULL | |
| password | char(128) | NO | | NULL | |
| user_salt | varchar(50) | NO | | NULL | |
| is_verified | tinyint(1) | NO | | NULL | |
| is_active | tinyint(1) | NO | | NULL | |
| is_admin | tinyint(1) | NO | | NULL | |
| verification_code | varchar(65) | NO | | NULL | |
+-------------------+-------------+------+-----+---------+----------------+
在我用数据填充它并尝试查看它之后,命令提示符返回这个废话:
mysql> SELECT * FROM users;
+----+---------------------+----------------------------------------------------
------------------------------------------------------------------------------+-
---------------------------------------------------+-------------+-----------+--
--------+-------------------------------------------------------------------+
| id | email | password
|
user_salt | is_verified | is_active | i
s_admin | verification_code |
+----+---------------------+----------------------------------------------------
------------------------------------------------------------------------------+-
---------------------------------------------------+-------------+-----------+--
--------+-------------------------------------------------------------------+
| 1 | gudauskas@gmail.com | 69acc2c656c61eec8a09061cc92cad5c029fb379e601ab74b75
6e48ca53b536b32abd4b103a5191e1d47af1007625dcab053ae03e4adc1f9378ce18614e8f0b5 |
tz5aczjdxa02xc9ai28c9vuhv4vabe1ar5ff127ps6vwwd0svc | 0 | 0 |
0 | c9u40b76u0tflo27550yqmvaa7phcvalxu5vu3wqhz68gkh60qa1teyyua3thp15y |
+----+---------------------+----------------------------------------------------
------------------------------------------------------------------------------+-
---------------------------------------------------+-------------+-----------+--
--------+-------------------------------------------------------------------+
我知道这是命令提示符的一些问题,因为该表没有损坏并且像魅力一样工作。还是因为太宽而正常?如果是这样,您对某些命令行应用程序有什么建议?我可以使用什么简单的命令行来查找我的表格?因为现在我必须使用 phpMyAdmin 并且它真的很滞后。
提前感谢您的帮助;]