Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ CentOS7 install MySQL 5.5     - Linux Study of --CentOS create local yum repository (Linux)

- Ubuntu 14.04 / 13.10 users how to install Ubuntu Touch core applications (Linux)

- Ubuntu FAQ solutions (Linux)

- Keepalived + Nginx Installation and Configuration (Server)

- Hardware Firewall Basics (Linux)

- Use MD5 transform algorithm to prevent exhaustive decipher passwords (Linux)

- HTTPS and SSH and use the difference between the way: Git User's Manual (Linux)

- Linux system security Comments (Linux)

- Linux 64-bit porting (Programming)

- Open Ubuntu system updates (Linux)

- Linux systems for entry-learning - Install Go language in Linux (Linux)

- Advanced permissions Linux file system settings (Linux)

- Ora-00439: feature not enabled: managed standby (Database)

- Advanced network security tips Linux backdoor Technology and Practice (Linux)

- C ++ 11 smart pointers (Programming)

- Linux Basics Tutorial: Linux Kickstart automated installation (Linux)

- Ubuntu 14.04 Solution login interface infinite loop (Linux)

- GO five stages of language learning (Programming)

- Linux loopback adapter Driven Design (Programming)

- iOS developers - a simple factory pattern and OC reflection (Programming)

 
         
  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:      
 
- Ubuntu Server (Ubuntu 14.04 LTS 64-bit) installation libgdiplus 2.10.9 error solution (Linux)
- Wildcards and special symbols usage comments under Linux (Linux)
- How to disable IPv6 in the CentOS 7 (Linux)
- Analysis of MySQL High Availability (Database)
- Linux IPTables anti-DDOS attack Shell Scripting (Linux)
- To restore the last time applications running when Ubuntu user log in again (Linux)
- MongoDB relations, references, index query coverage (Database)
- Oracle Linux 6.4 installed Oracle 11gR2 + RAC + ASM (Database)
- Linux common commands ll namely ls -l --color = auto (Linux)
- Java Learning: elegant string (Programming)
- MongoDB Study Notes (1) - Install MongoDB on Windows systems (Database)
- CentOS 6 kernel upgrade to Kernel 3.x (Linux)
- Talk Packages (Linux)
- Forbid screen change the window size when creating a new window under CentOS (Linux)
- Close and limit unused ports computer server security protection (Linux)
- Three easy open source firewall on the Linux platform (Linux)
- Linux fixes fatal error: x264.h: No such file or directo (Linux)
- HAproxy let IP recording back-end RS (Server)
- Oracle for Oracle GoldenGate to achieve a one-way synchronization DDL operations (Database)
- Hazelcast integration with MongoDB (Database)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.