Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ CentOS7 install MySQL 5.5     - JavaScript: understanding regular expressions (Programming)

- Linux Command - ps: a snapshot of the current process (Linux)

- Android 4.2 compilation notes (Programming)

- Spacewalk remove packages install the update (Linux)

- Why is better than Git SVN (Linux)

- CentOS 6.6 install rsync server (Server)

- Java String type time compare the size (Programming)

- Hadoop + Zookeeper NameNode achieve high availability (Server)

- Ubuntu 12.04 64-bit installation Redmine + Git + ReviewBoard (Linux)

- CentOS6.5 installation Docker (Linux)

- Android application security of data transmission security (Programming)

- Install the system cleaning software under Linux: BleachBit 1.4 (Linux)

- File upload via AngularJS and ASP.NET MVC5 (Programming)

- Inxi: Get Linux system and hardware information (Linux)

- Linux install Eclipse for C / C ++ Development (Linux)

- Install Web-based monitoring tool: Linux-Dash (Server)

- C ++ pointer two third memory model (Programming)

- To install Docker under Ubuntu 15.04 (Linux)

- Ubuntu 14.10 users to install Audio Recorder 1.5.7 (Linux)

- Vim simple configuration (Linux)

 
         
  CentOS7 install MySQL 5.5
     
  Add Date : 2018-11-21      
         
       
         
  First CentOS 7 no longer supports MySQL, because you know the charges, so mariadb internal integration, and installation files, then will the conflict MySQL and mariadb, so you need to uninstall mariadb, the following for uninstallation mariadb, step MySQL installation.

# List all rpm package is installed
rpm -qa | grep mariadb

# Uninstall

rpm -e mariadb-libs-5.5.37-1.el7_0.x86_64

Error: dependency test failed:
        libmysqlclient.so.18 () (64bit) is (already installed) postfix-2: 2.10.1-6.el7.x86_64 need
        libmysqlclient.so.18 (libmysqlclient_18) (64bit) is (already installed) postfix-2: 2.10.1-6.el7.x86_64 need

# Force Uninstall, because there is no --nodeps

rpm -e --nodeps mariadb-libs-5.5.37-1.el7_0.x86_64

# Rpm packages installed mysql5.5.39

rpm -ivh /home/liwei/MySQL-server-5.5.39-2.el6.x86_64.rpm

rpm -ivh /home/liwei/MySQL-client-5.5.39-2.el6.x86_64.rpm

# Copy profile

cp /usr/share/mysql/my-medium.cnf /etc/my.cnf, as renamed my.cnf mysql configuration file.

# Modify the response profile

vim /etc/my.cnf

# Mysql's data copied to the formulated directory

mv / var / lib / mysql / home / mysql / data /

Also note that the directory owner and permissions.

After the start MYSQL message:! ERROR The server quit without updating PID file to solve the wrong problem

1, enough authority: chown -R mysql: mysql / home / mysql / data "" chmod -R 755 / home / mysql / data

2, CentOS selinux Question 7: Open the / etc / selinux / config, the SELINUX = enforcing SELINUX save and exit to restart the machine after = disabled.
     
         
       
         
  More:      
 
- Eclipse-4.4 crash problem solving under Debian-7.6 (Linux)
- 8 Git tips (Linux)
- Swift string common method (Programming)
- Manually create Oracle Database Explanations (Database)
- Windows Remote Desktop Management CentOS 6.4 (Linux)
- CentOS7 installation GAMIT and GMT (Linux)
- Oracle 12c detailing the new features (Database)
- Use GLOBK batch command network adjustment (Linux)
- MongoDB uses aggregate, group, match mysql achieve in having (count (1)> 1) features (Database)
- RedHat Linux 5.5 installation process SVN Service Notes (Server)
- How to configure AWStats in Ubuntu Server (Server)
- Kibana Apache Password Authentication (Server)
- JDK comes with tools JPS (Linux)
- Standard and IO redirection (Linux)
- DB2 table space is redirected to restore the database combat (Database)
- Zabbix using Omsa monitor hardware information of Dell server (Server)
- Switching Virtual Machine + Ubuntu graphical interface and terminal interface (Linux)
- PHP generates a random password several ways (Programming)
- How do I switch from NetworkManager to systemd-network on Linux (Linux)
- How nodeclub constructed Docker image (Server)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.