za1
30-10-2015, 10:57
Добрый день. Много раз переустанавливал скуль в системе, однако результат один и тотже. Пробовал и МарияДБ ставить, не помогает.
[root@localhost ~]# yum install mysql-server
Loaded plugins: fastestmirror
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
mysql-connectors-community | 2.5 kB 00:00:00
mysql-tools-community | 2.5 kB 00:00:00
mysql56-community | 2.5 kB 00:00:00
updates | 3.4 kB 00:00:00
Loading mirror speeds from cached hostfile
* base: mirror.yandex.ru
* extras: mirror.yandex.ru
* updates: mirror.yandex.ru
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:5.6.27-2.el7 will be installed
--> Processing Dependency: mysql-community-client(x86-64) = 5.6.27-2.el7 for package: mysql-community-server-5.6.27-2.el7.x86_64
--> Running transaction check
---> Package mysql-community-client.x86_64 0:5.6.27-2.el7 will be installed
--> Processing Dependency: mysql-community-libs(x86-64) = 5.6.27-2.el7 for package: mysql-community-client-5.6.27-2.el7.x86_64
--> Running transaction check
---> Package mysql-community-libs.x86_64 0:5.6.27-2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================== =========================================================
Package Arch Version Repository Size
==================================================================================================== =========================================================
Installing:
mysql-community-server x86_64 5.6.27-2.el7 mysql56-community 58 M
Installing for dependencies:
mysql-community-client x86_64 5.6.27-2.el7 mysql56-community 19 M
mysql-community-libs x86_64 5.6.27-2.el7 mysql56-community 2.0 M
Transaction Summary
==================================================================================================== =========================================================
Install 1 Package (+2 Dependent packages)
Total download size: 79 M
Installed size: 342 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): mysql-community-libs-5.6.27-2.el7.x86_64.rpm | 2.0 MB 00:00:05
(2/3): mysql-community-client-5.6.27-2.el7.x86_64.rpm | 19 MB 00:00:29
(3/3): mysql-community-server-5.6.27-2.el7.x86_64.rpm | 58 MB 00:01:08
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.1 MB/s | 79 MB 00:01:13
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : mysql-community-libs-5.6.27-2.el7.x86_64 1/3
Installing : mysql-community-client-5.6.27-2.el7.x86_64 2/3
Installing : mysql-community-server-5.6.27-2.el7.x86_64 3/3
Verifying : mysql-community-server-5.6.27-2.el7.x86_64 1/3
Verifying : mysql-community-client-5.6.27-2.el7.x86_64 2/3
Verifying : mysql-community-libs-5.6.27-2.el7.x86_64 3/3
Installed:
mysql-community-server.x86_64 0:5.6.27-2.el7
Dependency Installed:
mysql-community-client.x86_64 0:5.6.27-2.el7 mysql-community-libs.x86_64 0:5.6.27-2.el7
Complete!
[root@localhost ~]# systemctl status mysqld
mysqld.service - MySQL Community Server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled)
Active: inactive (dead)
Oct 30 04:51:39 localhost.localdomain systemd[1]: Failed to start MySQL Community Server.
Oct 30 04:51:39 localhost.localdomain systemd[1]: Unit mysqld.service entered failed state.
Oct 30 04:51:39 localhost.localdomain systemd[1]: mysqld.service holdoff time over, scheduling restart.
Oct 30 04:51:39 localhost.localdomain systemd[1]: Stopping MySQL Community Server...
Oct 30 04:51:39 localhost.localdomain systemd[1]: Starting MySQL Community Server...
Oct 30 04:51:39 localhost.localdomain mysqld_safe[18634]: 151030 04:51:39 mysqld_safe Logging to '/var/log/mysqld.log'.
Oct 30 04:51:40 localhost.localdomain mysqld_safe[18634]: 151030 04:51:40 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Oct 30 04:51:42 localhost.localdomain mysqld_safe[18634]: 151030 04:51:42 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
Oct 30 04:52:32 localhost.localdomain systemd[1]: Stopping MySQL Community Server...
Oct 30 04:52:32 localhost.localdomain systemd[1]: Stopped MySQL Community Server.
[root@localhost ~]# systemctl start mysqld
Job for mysqld.service failed. See 'systemctl status mysqld.service' and 'journalctl -xn' for details.
[root@localhost ~]# journalctl -xn
-- Logs begin at Thu 2015-10-29 11:41:02 EDT, end at Fri 2015-10-30 10:51:36 EDT. --
Oct 30 10:41:35 localhost.localdomain mysqld_safe[21142]: 151030 10:41:35 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
Oct 30 10:51:34 localhost.localdomain systemd[1]: mysqld.service operation timed out. Stopping.
Oct 30 10:51:34 localhost.localdomain systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysqld.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysqld.service has failed.
--
-- The result is failed.
Oct 30 10:51:34 localhost.localdomain systemd[1]: Unit mysqld.service entered failed state.
Oct 30 10:51:34 localhost.localdomain systemd[1]: mysqld.service holdoff time over, scheduling restart.
Oct 30 10:51:34 localhost.localdomain systemd[1]: Stopping MySQL Community Server...
-- Subject: Unit mysqld.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysqld.service has begun shutting down.
Oct 30 10:51:34 localhost.localdomain systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysqld.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysqld.service has begun starting up.
Oct 30 10:51:35 localhost.localdomain mysqld_safe[23094]: 151030 10:51:35 mysqld_safe Logging to '/var/log/mysqld.log'.
Oct 30 10:51:35 localhost.localdomain mysqld_safe[23094]: 151030 10:51:35 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Oct 30 10:51:36 localhost.localdomain mysqld_safe[23094]: 151030 10:51:36 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
[root@localhost ~]# yum install mysql-server
Loaded plugins: fastestmirror
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
mysql-connectors-community | 2.5 kB 00:00:00
mysql-tools-community | 2.5 kB 00:00:00
mysql56-community | 2.5 kB 00:00:00
updates | 3.4 kB 00:00:00
Loading mirror speeds from cached hostfile
* base: mirror.yandex.ru
* extras: mirror.yandex.ru
* updates: mirror.yandex.ru
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:5.6.27-2.el7 will be installed
--> Processing Dependency: mysql-community-client(x86-64) = 5.6.27-2.el7 for package: mysql-community-server-5.6.27-2.el7.x86_64
--> Running transaction check
---> Package mysql-community-client.x86_64 0:5.6.27-2.el7 will be installed
--> Processing Dependency: mysql-community-libs(x86-64) = 5.6.27-2.el7 for package: mysql-community-client-5.6.27-2.el7.x86_64
--> Running transaction check
---> Package mysql-community-libs.x86_64 0:5.6.27-2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================== =========================================================
Package Arch Version Repository Size
==================================================================================================== =========================================================
Installing:
mysql-community-server x86_64 5.6.27-2.el7 mysql56-community 58 M
Installing for dependencies:
mysql-community-client x86_64 5.6.27-2.el7 mysql56-community 19 M
mysql-community-libs x86_64 5.6.27-2.el7 mysql56-community 2.0 M
Transaction Summary
==================================================================================================== =========================================================
Install 1 Package (+2 Dependent packages)
Total download size: 79 M
Installed size: 342 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): mysql-community-libs-5.6.27-2.el7.x86_64.rpm | 2.0 MB 00:00:05
(2/3): mysql-community-client-5.6.27-2.el7.x86_64.rpm | 19 MB 00:00:29
(3/3): mysql-community-server-5.6.27-2.el7.x86_64.rpm | 58 MB 00:01:08
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.1 MB/s | 79 MB 00:01:13
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : mysql-community-libs-5.6.27-2.el7.x86_64 1/3
Installing : mysql-community-client-5.6.27-2.el7.x86_64 2/3
Installing : mysql-community-server-5.6.27-2.el7.x86_64 3/3
Verifying : mysql-community-server-5.6.27-2.el7.x86_64 1/3
Verifying : mysql-community-client-5.6.27-2.el7.x86_64 2/3
Verifying : mysql-community-libs-5.6.27-2.el7.x86_64 3/3
Installed:
mysql-community-server.x86_64 0:5.6.27-2.el7
Dependency Installed:
mysql-community-client.x86_64 0:5.6.27-2.el7 mysql-community-libs.x86_64 0:5.6.27-2.el7
Complete!
[root@localhost ~]# systemctl status mysqld
mysqld.service - MySQL Community Server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled)
Active: inactive (dead)
Oct 30 04:51:39 localhost.localdomain systemd[1]: Failed to start MySQL Community Server.
Oct 30 04:51:39 localhost.localdomain systemd[1]: Unit mysqld.service entered failed state.
Oct 30 04:51:39 localhost.localdomain systemd[1]: mysqld.service holdoff time over, scheduling restart.
Oct 30 04:51:39 localhost.localdomain systemd[1]: Stopping MySQL Community Server...
Oct 30 04:51:39 localhost.localdomain systemd[1]: Starting MySQL Community Server...
Oct 30 04:51:39 localhost.localdomain mysqld_safe[18634]: 151030 04:51:39 mysqld_safe Logging to '/var/log/mysqld.log'.
Oct 30 04:51:40 localhost.localdomain mysqld_safe[18634]: 151030 04:51:40 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Oct 30 04:51:42 localhost.localdomain mysqld_safe[18634]: 151030 04:51:42 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
Oct 30 04:52:32 localhost.localdomain systemd[1]: Stopping MySQL Community Server...
Oct 30 04:52:32 localhost.localdomain systemd[1]: Stopped MySQL Community Server.
[root@localhost ~]# systemctl start mysqld
Job for mysqld.service failed. See 'systemctl status mysqld.service' and 'journalctl -xn' for details.
[root@localhost ~]# journalctl -xn
-- Logs begin at Thu 2015-10-29 11:41:02 EDT, end at Fri 2015-10-30 10:51:36 EDT. --
Oct 30 10:41:35 localhost.localdomain mysqld_safe[21142]: 151030 10:41:35 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
Oct 30 10:51:34 localhost.localdomain systemd[1]: mysqld.service operation timed out. Stopping.
Oct 30 10:51:34 localhost.localdomain systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysqld.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysqld.service has failed.
--
-- The result is failed.
Oct 30 10:51:34 localhost.localdomain systemd[1]: Unit mysqld.service entered failed state.
Oct 30 10:51:34 localhost.localdomain systemd[1]: mysqld.service holdoff time over, scheduling restart.
Oct 30 10:51:34 localhost.localdomain systemd[1]: Stopping MySQL Community Server...
-- Subject: Unit mysqld.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysqld.service has begun shutting down.
Oct 30 10:51:34 localhost.localdomain systemd[1]: Starting MySQL Community Server...
-- Subject: Unit mysqld.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysqld.service has begun starting up.
Oct 30 10:51:35 localhost.localdomain mysqld_safe[23094]: 151030 10:51:35 mysqld_safe Logging to '/var/log/mysqld.log'.
Oct 30 10:51:35 localhost.localdomain mysqld_safe[23094]: 151030 10:51:35 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Oct 30 10:51:36 localhost.localdomain mysqld_safe[23094]: 151030 10:51:36 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended