6 Einträge, 1 Seite |
1
2
3
4
5
6
localhost:/home/frosch/scripts # mysqlshow -p****** geo geodb_textdata geodb_textdata
Database: geo Table: geodb_textdata Rows: 17696 Wildcard: geodb_textdata
+-------+------+-----------+------+-----+---------+-------+------------+---------+
| Field | Type | Collation | Null | Key | Default | Extra | Privileges | Comment |
+-------+------+-----------+------+-----+---------+-------+------------+---------+
+-------+------+-----------+------+-----+---------+-------+------------+---------+
1
2
3
4
5
6
7
localhost:/home/frosch/scripts # mysqlshow -pleovice geo geodb_textdata
Database: geo Wildcard: geodb_textdata
+----------------+
| Tables |
+----------------+
| geodb_textdata |
+----------------+
QuoteRufen Sie mysqlshow wie folgt auf:
shell> mysqlshow [options] [db_name [tbl_name [col_name]]]
Wenn keine Datenbank angegeben wird, erscheint eine Liste aller Datenbanknamen.
Wird keine Tabelle angegeben, dann werden alle passenden Tabellen in der Datenbank angezeigt.
Wird keine Spalte angegeben, dann werden alle passenden Spalten und Spaltentypen in der Tabelle angezeigt.
localhost:/home/frosch/scripts # mysqlshow -pleovice geo geodb_textdata
1
2
3
4
5
6
Database: geo Wildcard: geodb_textdata
+----------------+
| Tables |
+----------------+
| geodb_textdata |
+----------------+
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
~ mysqlshow.exe --port 3306 -u test -p test test
Enter password: ****
Database: test Table: test Rows: 2
+---------------+------------------+-------------------+------+-----+---------+----------------+---------------------------------+---------+
| Field | Type | Collation | Null | Key | Default | Extra | Privileges | Comment |
+---------------+------------------+-------------------+------+-----+---------+----------------+---------------------------------+---------+
| id | int(10) unsigned | NULL | | PRI | | auto_increment | select,insert,update,references | |
| longitude | float | NULL | YES | | 0 | | select,insert,update,references | |
| azimuth | float | NULL | | | 0 | | select,insert,update,references | |
| location_name | varchar(128) | latin1_swedish_ci | | | | | select,insert,update,references | |
+---------------+------------------+-------------------+------+-----+---------+----------------+---------------------------------+---------+
~
~
~
~ mysqlshow.exe --port 3309 -u test -p test test
Enter password: ****
Database: test Table: test Rows: 0
+---------------+------------------+-------------------+------+-----+---------+----------------+---------------------------------+---------+
| Field | Type | Collation | Null | Key | Default | Extra | Privileges | Comment |
+---------------+------------------+-------------------+------+-----+---------+----------------+---------------------------------+---------+
| id | int(10) unsigned | | NO | PRI | | auto_increment | select,insert,update,references | |
| longitude | float | | YES | | 0 | | select,insert,update,references | |
| azimuth | float | | NO | | 0 | | select,insert,update,references | |
| location_name | varchar(128) | latin1_swedish_ci | NO | | | | select,insert,update,references | |
+---------------+------------------+-------------------+------+-----+---------+----------------+---------------------------------+---------+
~
6 Einträge, 1 Seite |