Install mysql5.7.10 under CENTOS7 using Yum
Reference: http://www.cnblogs.com/hwd-cnblogs/p/5213337.html
Http://www.jb51.net/article/101113.htm
Http://jingyan.baidu.com/article/fec7a1e5f8d3201190b4e782.html
The CentOS7 Yum source does not seem to have MySQL by default. To solve this problem, we need to download the MySQL repo source first.
1. Download the MySQL repo source
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
2. Install the MYSQL-COMMUNITY-RELEASE-EL7-5.NOARCH.RPM package
sudo rpm-ivh mysql-community-release-el7-5. noarch.rpm
After installing this package, you will get two MySQL yum repo Source:/etc/yum.repos.d/mysql-community.repo,/etc/yum.repos.d/mysql-community-source.repo.
3. Install MySQL
sudo yum install Mysql-server
Follow the steps to install it, but after the installation is complete, there is no password and you need to reset the password.
4. Start the MySQL service first
Service mysqld Start
5. Connect and try
Direct MySQL If successful, close the connection with \q
6. Set MySQL boot (may not work, with other commands)
Chkconfig mysqld on
7. Open 3306 Ports
sudo vim/etc/sysconfig/iptables
Add the following content:
Restart the firewall after saving:
This allows the MySQL service to be connected from other clients as well.
8. Reset Password
Before resetting your password, you must first log in
Mysql?uroot may report Such a mistake when logging in: ERROR2002 (HY000): Can ' Tconnecttolocalmysqlserverthroughsocket '/var/lib/mysql/mysql.sock ' (2), because of a/var/lib/mysql access problem. The following command changes the owner of the/var/lib/mysql to the current sudo chown-r openscanner:openscanner/var/lib/mysql Restart Service:
Service mysqld Restart
Next login to reset Password:
Use MySQL;
Update user set Password=password (' Password ') where user= ' root ';
Flush privileges;
9. Setting up MySQL remote access
' Root '@'%'123456' with GRANT option;
10. Table name case Sensitivity setting 0-case sensitivity 1-case insensitive
' /mysqld/a\lower_case_table_names=1 ' /etc/my.cnf
Service mysqld Restart
CENTOS7 Installing. Net Core
Reference: Https://www.microsoft.com/net/core#linuxcentos
CENTOS7 installation Jexus
Reference: http://www.cnblogs.com/ideacore/p/7072809.html
Http://www.cnblogs.com/gaobing/p/5663012.html
. Net Core 1.1 + CentOs 7 Environment configuration