Centos 7 安装mysql后出现 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 切换成root, systemctl start mariadb.service systemctl enable mariadb.service
重装系统后发现jdk没有了,重新安装了,装一个其实挺容易的,但是“java -version”回车的时候,“啪”,error: Error opening registry key'software\Javasoft\Java Runtime Environment'Error: could not find java.dllError: could not find Java 2 Runtime Environment' 怎么会这样子,于是度娘~找到了好几种解决方法,但是每人的电脑不同,方法不