mysql 5.6 private_key.pem public_key.pem file not found
2015-03-10 11:02
441 查看
140814 15:28:44 mysqld_safe Starting mysqld daemon with databases from /home/mysql2015/data
2014-08-14 15:28:45 15388 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-08-14 15:28:45 15388 [Note] InnoDB: The InnoDB memory heap is disabled
2014-08-14 15:28:45 15388 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-08-14 15:28:45 15388 [Note] InnoDB: Memory barrier is not used
2014-08-14 15:28:45 15388 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-08-14 15:28:45 15388 [Note] InnoDB: Using Linux native AIO
2014-08-14 15:28:45 15388 [Note] InnoDB: Using CPU crc32 instructions
2014-08-14 15:28:45 15388 [Note] InnoDB: Initializing buffer pool, size = 1.0G
2014-08-14 15:28:45 15388 [Note] InnoDB: Completed initialization of buffer pool
2014-08-14 15:28:45 15388 [Note] InnoDB: Highest supported file format is Barracuda.
2014-08-14 15:28:45 15388 [Note] InnoDB: 128 rollback segment(s) are active.
2014-08-14 15:28:45 15388 [Note] InnoDB: Waiting for purge to start
2014-08-14 15:28:45 15388 [Note] InnoDB: 5.6.20 started; log sequence number 1661278
2014-08-14 15:28:45 15388 [Note] RSA private key file not found: /home/mysql2015/data//private_key.pem. Some authentication plugins will not work.
2014-08-14 15:28:45 15388 [Note] RSA public key file not found: /home/mysql2015/data//public_key.pem. Some authentication plugins will not work.
2014-08-14 15:28:45 15388 [Note] Server hostname (bind-address): '0.0.0.0'; port: 2015
2014-08-14 15:28:45 15388 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2014-08-14 15:28:45 15388 [Note] Server socket created on IP: '0.0.0.0'.
2014-08-14 15:28:46 15388 [Note] Event Scheduler: Loaded 0 events
2014-08-14 15:28:46 15388 [Note] /usr/local/webserver/mysql2015/bin/mysqld: ready for connections.
Version: '5.6.20-log' socket: '/tmp/mysql2015.sock' port: 2015 Source distribution
处理了一个MySQL Plugin 'FEDERATED' is disabled 的问题,发现日志里还有一个RSA private key file not found的问题,sha256_password这个插件是MySQL5.6内置的,支持更为强大的用户密码加密方式。
解决方法:
cd /home/mysql2015/data/
openssl genrsa -out private_key.pem 1024
openssl rsa -in
private_key.pem -pubout >
public_key.pem
chmod 400
private_key.pem
chmod 444
public_key.pem
chown mysql:mysql
private_key.pem
chown mysql:mysql
public_key.pem
重启MYSQL服务,日志不再有以下错误了
RSA private key file not found: /home/mysql2015/data//private_key.pem. Some authentication plugins will not work.
RSA public key file not found: /home/mysql2015/data//public_key.pem. Some authentication plugins will not work.
转载:http://outofmemory.cn/wr/?u=http%3A%2F%2Fwww.zhanghaijun.com%2Fpost%2F951%2F
2014-08-14 15:28:45 15388 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-08-14 15:28:45 15388 [Note] InnoDB: The InnoDB memory heap is disabled
2014-08-14 15:28:45 15388 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-08-14 15:28:45 15388 [Note] InnoDB: Memory barrier is not used
2014-08-14 15:28:45 15388 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-08-14 15:28:45 15388 [Note] InnoDB: Using Linux native AIO
2014-08-14 15:28:45 15388 [Note] InnoDB: Using CPU crc32 instructions
2014-08-14 15:28:45 15388 [Note] InnoDB: Initializing buffer pool, size = 1.0G
2014-08-14 15:28:45 15388 [Note] InnoDB: Completed initialization of buffer pool
2014-08-14 15:28:45 15388 [Note] InnoDB: Highest supported file format is Barracuda.
2014-08-14 15:28:45 15388 [Note] InnoDB: 128 rollback segment(s) are active.
2014-08-14 15:28:45 15388 [Note] InnoDB: Waiting for purge to start
2014-08-14 15:28:45 15388 [Note] InnoDB: 5.6.20 started; log sequence number 1661278
2014-08-14 15:28:45 15388 [Note] RSA private key file not found: /home/mysql2015/data//private_key.pem. Some authentication plugins will not work.
2014-08-14 15:28:45 15388 [Note] RSA public key file not found: /home/mysql2015/data//public_key.pem. Some authentication plugins will not work.
2014-08-14 15:28:45 15388 [Note] Server hostname (bind-address): '0.0.0.0'; port: 2015
2014-08-14 15:28:45 15388 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2014-08-14 15:28:45 15388 [Note] Server socket created on IP: '0.0.0.0'.
2014-08-14 15:28:46 15388 [Note] Event Scheduler: Loaded 0 events
2014-08-14 15:28:46 15388 [Note] /usr/local/webserver/mysql2015/bin/mysqld: ready for connections.
Version: '5.6.20-log' socket: '/tmp/mysql2015.sock' port: 2015 Source distribution
处理了一个MySQL Plugin 'FEDERATED' is disabled 的问题,发现日志里还有一个RSA private key file not found的问题,sha256_password这个插件是MySQL5.6内置的,支持更为强大的用户密码加密方式。
解决方法:
cd /home/mysql2015/data/
openssl genrsa -out private_key.pem 1024
openssl rsa -in
private_key.pem -pubout >
public_key.pem
chmod 400
private_key.pem
chmod 444
public_key.pem
chown mysql:mysql
private_key.pem
chown mysql:mysql
public_key.pem
重启MYSQL服务,日志不再有以下错误了
RSA private key file not found: /home/mysql2015/data//private_key.pem. Some authentication plugins will not work.
RSA public key file not found: /home/mysql2015/data//public_key.pem. Some authentication plugins will not work.
转载:http://outofmemory.cn/wr/?u=http%3A%2F%2Fwww.zhanghaijun.com%2Fpost%2F951%2F
相关文章推荐
- RSA private key file not found
- RSA private key file not found
- CentOS6.5 mysql5.6 启动错误 server PID file could not be found
- mysql load data infile file not found
- mysql PID file not found and Can't connect to MySQL through socket mysql.sock
- keytool 错误: java.io.FileNotFoundException: MyAndroidKey.keystore (拒绝访问).
- GIT_ERROR: gpg: Can't check signature: public key not found error: could not verify the tag 'v1.12.4'
- MySQL server PID file could not be found!-mysql启动错误
- SSH error:a public key file has not been specified by this session
- mysql 启动错误-server PID file could not be found
- 解决 MySQL manager or server PID file could not be found! 的方法
- Converting RSA public key Modulus and Exponent into PEM file
- MySQL manager or server PID file could not be found!
- MySQL is running but PID file is not found
- 如何解决java.io.FileNotFoundException: mysql.ini (系统找不到指定的文件。)
- SSH error:a public key file has not been specified by this session
- mysql PID file not found and Can't connect to MySQL through socket mysql.sock
- keytool错误: java.io.FileNotFoundException: android.key (Permission denied)
- mysql启动错误:server PID file could not be found!
- Mysql启动出现MySQL server PID file could not be found 错误