Note that the MySQL installation issues

1 , server network environment is configured to complete

  A , check the / etc / hosts file, access the database of the application of IP addresses and host names as well as master and slave server to resolve to add to the hosts file, and the user must have permission to access this file.

  b , view card information, make sure that IP address, subnet mask, default gateway, and DNS values configured correctly.

    # cat/etc/sysconfig/network-scripts/ifcfg-eno16777736 

  c, see the DNS file, make sure nameserver can use

    # cat /etc/resolv.conf

  d, if there is demand for the Internet, the ping to see if the external network can communicate.

2 , always view the error log: tail -100F / var / log / messages 

3 , the configuration yum source

4 , delete the old version of mysql yum remove mysql *

5 , SELinux must be closed

  # getenforce Disabled

6 , turn off the firewall best # iptables -L

7 , ready to MySQL database software and the MySQL location data file

  MySQL location database file must be enough space and performance requirements is the best.

8 , MySQL parameter files edited in advance

  undo from ibdata1 shared table space independent

  undo position shared table space and the space in which to be enough

Guess you like

Origin www.cnblogs.com/5945yang/p/11301140.html