Obtain the number of table fields

 

Table number field ##### obtained 
MySQL > SELECT COUNT ( . 1 ) from from information_schema.columns WHERE TABLE_SCHEMA = ' MySQL ' and table_name = ' User ' ;
 + ---------- + 
| COUNT ( . 1 ) | 
+ ---------- + 
| 45 | 
+ ---------- + 1 Row in the SET ( 0.00 sec) 
MySQL > 
########### query server support ssl function 
MySQL > Show the Variables like ' have_openssl ' ;
 
| variable_name | Value |


 + --------------- + ---------- +
+---------------+----------+
| have_openssl | DISABLED |
+---------------+----------+
1 row in set, 1 warning (0.01 sec)

mysql>

 

Guess you like

Origin www.cnblogs.com/igoodful/p/11628392.html