Determining the Communication Forms Supported by the MySQL Server : Global Variables « Command MySQL « SQL / MySQL






Determining the Communication Forms Supported by the MySQL Server

      
mysql>
mysql> SHOW VARIABLES LIKE 'skip_net%';
+-----------------+-------+
| Variable_name   | Value |
+-----------------+-------+
| skip_networking | OFF   |
+-----------------+-------+
1 row in set (0.00 sec)

mysql>
mysql> SHOW VARIABLES LIKE 'port';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| port          | 3306  |
+---------------+-------+
1 row in set (0.00 sec)

mysql>
mysql> SHOW VARIABLES LIKE 'socket';
Empty set (0.00 sec)

mysql>
mysql> SHOW VARIABLES LIKE 'named%';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| named_pipe    | OFF   |
+---------------+-------+
1 row in set (0.00 sec)

mysql>
mysql> SHOW VARIABLES LIKE 'shared%';
+-------------------------+-------+
| Variable_name           | Value |
+-------------------------+-------+
| shared_memory           | OFF   |
| shared_memory_base_name | MYSQL |
+-------------------------+-------+
2 rows in set (0.00 sec)

mysql>
mysql>
mysql>

   
    
    
    
    
    
  








Related examples in the same category

1.View the current setting for the global transaction isolation level by using the @@global.tx_isolation system variable
2.Returns the isolation level for the current session and the maximum permitted size of the binary log file
3.SET @@session.character_set_client
4.SET @@session.character_set_results
5.SET @@character_set_connection
6.SELECT @@COLLATION_DATABASE
7.Change the @@STORAGE_ENGINE
8.Determine the isolation level of a connection
9.Change the value of the SQL_MODE parameter to PIPES_AS_CONCAT.