0.客戶端登陸報(bào)錯
luobiaodeMacBook-Air:~ luobiao$ ssh root@39.101.204.8
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@? ? WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!? ? @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:jN2L7Ebd8ZV03ErBmMpGwHybqNBnLqOX0TTk9TbgzZs.
Please contact your system administrator.
Add correct host key in /Users/luobiao/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/luobiao/.ssh/known_hosts:8
ECDSA host key for 39.101.204.8 has changed and you have requested strict checking.
Host key verification failed.
解決:
這里面缘揪,有一句很關(guān)鍵逼庞。
ECDSA host key for 39.101.204.8? has changed and you have requested strict checking.
Host key verification failed.
一般這個問題,是你重置過你的服務(wù)器后。你再次想訪問會出現(xiàn)這個問題输钩。
ssh-keygen -R??39.101.204.8?
1.安裝mysql報(bào)錯
mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
解決:
經(jīng)過百度說是缺少?libaio.so.1? 這個包.這個包是干什么的呢癌刽?
我也沒查看到灌旧?試試先安裝這個包莱衩。
yum -y install libaio??
安裝后,解決該問題趋艘。
2.[root@later01/errlog]# /etc/init.d/mysqld start?
Starting MySQL.2020-04-11T16:49:17.645735Z mysqld_safe error: log-error set to '/errlog/3306/mysql.log', however file don't exists. Create writable for user 'mysql'.
解決: 創(chuàng)建日志文件并賦權(quán)?
[root@later01/errlog/3306]# echo "" > mysql.log?
[root@later01/errlog/3306]# chown -R mysql.mysql /errlog/
3.2020-04-11T16:52:12.084460Z 0 [ERROR] InnoDB: The innodb_system data file './ibdata1' is of a different size 768 pages (rounded down to MB) than the 4864 pages specified in the .cnf file!
解決:注釋my.cnf 中的
#innodb_data_file_path=ibdata1:76M;ibdata2:100M;ibdata3:100M:autoextend