ใช้คำสั่ง SHOW VARIABLES ไม่ได้ครับ..
เป็นเพราะอย่างไรครับ..
ติดตั้งเครื่องใหม่ครับ รายละเอียดตาม นี้ครับ
h11309# mysql -root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 5.1.51-log FreeBSD port: mysql-server-5.1.51_1
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> \s
--------------
mysql Ver 14.14 Distrib 5.1.51, for portbld-freebsd8.1 (i386) using 5.2
Connection id: 9
Current database:
Current user: root@localhost
SSL: Not in use
All updates ignored to this database
Current pager: more
Using outfile: ''
Using delimiter: ;
Server version: 5.1.51-log FreeBSD port: mysql-server-5.1.51_1
Protocol version: 10
Connection: Localhost via UNIX socket
Server characterset: tis620
Db characterset: tis620
Client characterset: tis620
Conn. characterset: tis620
UNIX socket: /tmp/mysql.sock
Uptime: 1 day 18 hours 14 min 44 sec
Threads: 2 Questions: 314992 Slow queries: 0 Opens: 205 Flush tables: 1 Open tables: 198 Queries per second avg: 2.71
--------------
mysql> SHOW VARIABLES;
Ignoring query to other database
mysql> SHOW VARIABLES LIKE 'innodb%';
Ignoring query to other database
mysql> SHOW GLOBAL VARIABLES LIKE 'innodb%';
Ignoring query to other database
mysql> SHOW GLOBAL VARIABLES LIKE '%size%';
Ignoring query to other database
mysql>