Yum install ncurses-libs.i686 libstdc ++. i686 libgcc. i686
Http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/libaio.so.1%28LIBAIO_0.1%29
Libaio library required
First, check whether MySQL has been installed in the system:
Rpm-Qa | grep MySQL
Mysql-server-Version. Rpm
MySQL service package (if you connect to the remote server, you do not need to install this package)
Mysql-client-Version. Rpm
Mysql client
Generally, you only need to install these two packages.
View the installation package information:
Shell>Rpm-qpl mysql-server-Version. Glibc23.i386. rpm
Install two packages:
Shell>Rpm-I mysql-server-Version. Glibc23.i386. rpmShell>Rpm-I mysql-client-Version. Glibc23.i386. rpm
To install only the client programs, install just the client RPM:
Shell>Rpm-I mysql-client-Version. Glibc23.i386. rpm
After installation, restart the computer and enter MySQL to start MySQL.
If the error "can't connect to local MySQL server through socket '/tmp/MySQL. Sock" is prompted, restart the computer.
After the installation is complete, you can use the mysqladmin command to change the initial password:
Mysqladmin-u Root Password 'new-passwd'
/Usr/bin/mysqladmin-u Root Password 'new-password'
/Usr/bin/mysqladmin-u root-H bogon password 'new-password'
Directory structure:
| /usr/bin |
client programs and scripts |
| /usr/sbin |
the mysqld server |
| /var/lib/MySQL |
log files, databases |
| /usr/share/info |
manual in Info format |
| /usr/share/man |
Unix manual pages |
| /usr/include/MySQL |
include (header) files |
| /usr/lib/MySQL |
libraries |
| /usr/share/MySQL |
miscellaneous support files, including error messages, Character Set files, sample configuration files, SQL for database installation |
| /usr/share/SQL-example |
benchmarks |