openssl_1.result

来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· RESULT 代码 · 共 173 行

RESULT
173
字号
drop table if exists t1;create table t1(f1 int);insert into t1 values (5);grant select on test.* to ssl_user1@localhost require SSL;grant select on test.* to ssl_user2@localhost require cipher "DHE-RSA-AES256-SHA";grant select on test.* to ssl_user3@localhost require cipher "DHE-RSA-AES256-SHA" AND SUBJECT "/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB/emailAddress=abstract.mysql.developer@mysql.com";grant select on test.* to ssl_user4@localhost require cipher "DHE-RSA-AES256-SHA" AND SUBJECT "/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB/emailAddress=abstract.mysql.developer@mysql.com" ISSUER "/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB";grant select on test.* to ssl_user5@localhost require cipher "DHE-RSA-AES256-SHA" AND SUBJECT "xxx";flush privileges;connect(localhost,ssl_user5,,test,MASTER_PORT,MASTER_SOCKET);ERROR 28000: Access denied for user 'ssl_user5'@'localhost' (using password: NO)SHOW STATUS LIKE 'Ssl_cipher';Variable_name	ValueSsl_cipher	DHE-RSA-AES256-SHAselect * from t1;f15delete from t1;ERROR 42000: DELETE command denied to user 'ssl_user1'@'localhost' for table 't1'SHOW STATUS LIKE 'Ssl_cipher';Variable_name	ValueSsl_cipher	DHE-RSA-AES256-SHAselect * from t1;f15delete from t1;ERROR 42000: DELETE command denied to user 'ssl_user2'@'localhost' for table 't1'SHOW STATUS LIKE 'Ssl_cipher';Variable_name	ValueSsl_cipher	DHE-RSA-AES256-SHAselect * from t1;f15delete from t1;ERROR 42000: DELETE command denied to user 'ssl_user3'@'localhost' for table 't1'SHOW STATUS LIKE 'Ssl_cipher';Variable_name	ValueSsl_cipher	DHE-RSA-AES256-SHAselect * from t1;f15delete from t1;ERROR 42000: DELETE command denied to user 'ssl_user4'@'localhost' for table 't1'drop user ssl_user1@localhost, ssl_user2@localhost,ssl_user3@localhost, ssl_user4@localhost, ssl_user5@localhost;drop table t1;mysqltest: Could not open connection 'default': 2026 SSL connection errormysqltest: Could not open connection 'default': 2026 SSL connection errormysqltest: Could not open connection 'default': 2026 SSL connection errorSSL error: Unable to get private key from ''mysqltest: Could not open connection 'default': 2026 SSL connection errorSSL error: Unable to get certificate from ''mysqltest: Could not open connection 'default': 2026 SSL connection errorSHOW STATUS LIKE 'Ssl_cipher';Variable_name	ValueSsl_cipher	DHE-RSA-AES256-SHAVariable_name	ValueSsl_cipher	DHE-RSA-AES256-SHASHOW STATUS LIKE 'Ssl_cipher';Variable_name	ValueSsl_cipher	AES128-SHASHOW STATUS LIKE 'Ssl_cipher';Variable_name	ValueSsl_cipher	AES128-SHAmysqltest: Could not open connection 'default': 2026 SSL connection errorCREATE TABLE t1(a int);INSERT INTO t1 VALUES (1), (2);/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;/*!40101 SET NAMES utf8 */;/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;/*!40103 SET TIME_ZONE='+00:00' */;/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;DROP TABLE IF EXISTS `t1`;SET @saved_cs_client     = @@character_set_client;SET character_set_client = utf8;CREATE TABLE `t1` (  `a` int(11) default NULL);SET character_set_client = @saved_cs_client;LOCK TABLES `t1` WRITE;/*!40000 ALTER TABLE `t1` DISABLE KEYS */;INSERT INTO `t1` VALUES (1),(2);/*!40000 ALTER TABLE `t1` ENABLE KEYS */;UNLOCK TABLES;/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;/*!40101 SET NAMES utf8 */;/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;/*!40103 SET TIME_ZONE='+00:00' */;/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;DROP TABLE IF EXISTS `t1`;SET @saved_cs_client     = @@character_set_client;SET character_set_client = utf8;CREATE TABLE `t1` (  `a` int(11) default NULL);SET character_set_client = @saved_cs_client;LOCK TABLES `t1` WRITE;/*!40000 ALTER TABLE `t1` DISABLE KEYS */;INSERT INTO `t1` VALUES (1),(2);/*!40000 ALTER TABLE `t1` ENABLE KEYS */;UNLOCK TABLES;/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;/*!40101 SET NAMES utf8 */;/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;/*!40103 SET TIME_ZONE='+00:00' */;/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;DROP TABLE IF EXISTS `t1`;SET @saved_cs_client     = @@character_set_client;SET character_set_client = utf8;CREATE TABLE `t1` (  `a` int(11) default NULL);SET character_set_client = @saved_cs_client;LOCK TABLES `t1` WRITE;/*!40000 ALTER TABLE `t1` DISABLE KEYS */;INSERT INTO `t1` VALUES (1),(2);/*!40000 ALTER TABLE `t1` ENABLE KEYS */;UNLOCK TABLES;/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;SSL error: Unable to get private key from 'MYSQL_TEST_DIR/std_data/client-cert.pem'mysqldump: Got error: 2026: SSL connection error when trying to connectDROP TABLE t1;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?