summaryrefslogtreecommitdiff
path: root/mysql-test/r/ssl_mode.result
blob: 38fc4e1dca296daddffdc9fae34c9684af836189 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# positive client tests
# mysql
Variable_name	Value
Ssl_cipher	DHE-RSA-AES256-SHA
Variable_name	Value
Ssl_cipher	DHE-RSA-AES256-SHA
CREATE TABLE t1(a INT);
INSERT INTO t1 VALUES(0);
# mysqldump
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t1` (
  `a` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
INSERT INTO `t1` VALUES (0);
# mysqladmin
mysqld is alive
# mysqlcheck
test.t1                                            OK
# mysqlimport
CREATE TABLE words(a VARCHAR(255));
test.words: Records: 70  Deleted: 0  Skipped: 0  Warnings: 0
DROP TABLE words;
# mysqlshow
Database: test
+--------+
| Tables |
+--------+
| t1     |
+--------+
# mysqlslap
# mysqltest
Output from mysqltest-x.inc
DROP TABLE t1;
# negative client tests
# mysql
Unknown value to --ssl-mode: ''. Use --ssl-mode=REQUIRED
Unknown value to --ssl-mode: 'DERIUQER'. Use --ssl-mode=REQUIRED
ERROR 2026 (HY000): --ssl-mode=REQUIRED option forbids non SSL connections
ERROR 2026 (HY000): --ssl-mode=REQUIRED option forbids non SSL connections
ERROR 2026 (HY000): --ssl-mode=REQUIRED option forbids non SSL connections

End of tests