Not the answer you need?
Register and ask your own question!

Mysql couldnt start after fresh install

adliazaddinadliazaddin EntrantCurrent User Role Novice
Hello,

i have a fresh installed percona mysql on a new server,

after running command yum -y install percona-server-server i tried to run the service however i got a message stating

Failed to start mysql.service: Unit not found.

kindly assist

below is the installation logs

#yum -y install percona-server-server Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.exabytes.com.my * extras: centos.exabytes.com.my * updates: centos.exabytes.com.my ps-80-release-noarch | 2.9 kB 00:00:00 ps-80-release-x86_64 | 2.9 kB 00:00:00 tools-release-noarch | 2.9 kB 00:00:00 tools-release-x86_64 | 2.9 kB 00:00:00 Resolving Dependencies --> Running transaction check ---> Package percona-server-server.x86_64 0:8.0.16-7.1.el7 will be installed --> Processing Dependency: percona-server-shared for package: percona-server-server-8.0.16-7.1.el7.x86_64 --> Processing Dependency: percona-server-client for package: percona-server-server-8.0.16-7.1.el7.x86_64 --> Running transaction check ---> Package percona-server-client.x86_64 0:8.0.16-7.1.el7 will be installed ---> Package percona-server-shared.x86_64 0:8.0.16-7.1.el7 will be installed --> Processing Dependency: percona-server-shared-compat for package: percona-server-shared-8.0.16-7.1.el7.x86_64 --> Running transaction check ---> Package percona-server-shared-compat.x86_64 0:8.0.16-7.1.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved
=============================================================================================================================================== Package Arch Version Repository Size =============================================================================================================================================== Installing: percona-server-server x86_64 8.0.16-7.1.el7 ps-80-release-x86_64 51 M Installing for dependencies: percona-server-client x86_64 8.0.16-7.1.el7 ps-80-release-x86_64 11 M percona-server-shared x86_64 8.0.16-7.1.el7 ps-80-release-x86_64 1.2 M percona-server-shared-compat x86_64 8.0.16-7.1.el7 ps-80-release-x86_64 1.2 M Transaction Summary =============================================================================================================================================== Install 1 Package (+3 Dependent packages) Total download size: 64 M Installed size: 346 M Downloading packages: (1/4): percona-server-client-8.0.16-7.1.el7.x86_64.rpm | 11 MB 00:00:11 (2/4): percona-server-shared-8.0.16-7.1.el7.x86_64.rpm | 1.2 MB 00:00:01 (3/4): percona-server-shared-compat-8.0.16-7.1.el7.x86_64.rpm | 1.2 MB 00:00:01 (4/4): percona-server-server-8.0.16-7.1.el7.x86_64.rpm | 51 MB 00:00:32
Total 1.9 MB/s | 64 MB 00:00:32 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : percona-server-shared-compat-8.0.16-7.1.el7.x86_64 1/4 Installing : percona-server-shared-8.0.16-7.1.el7.x86_64 2/4 Installing : percona-server-client-8.0.16-7.1.el7.x86_64 3/4 Installing : percona-server-server-8.0.16-7.1.el7.x86_64 4/4 Percona Server is distributed with several useful UDF (User Defined Function) from Percona Toolkit. Run the following commands to create these functions: mysql -e "CREATE FUNCTION fnv1a_64 RETURNS INTEGER SONAME 'libfnv1a_udf.so'" mysql -e "CREATE FUNCTION fnv_64 RETURNS INTEGER SONAME 'libfnv_udf.so'" mysql -e "CREATE FUNCTION murmur_hash RETURNS INTEGER SONAME 'libmurmur_udf.so'" See http://www.percona.com/doc/percona-server/8.0/management/udf_percona_toolkit.html for more details Verifying : percona-server-client-8.0.16-7.1.el7.x86_64 1/4 Verifying : percona-server-shared-compat-8.0.16-7.1.el7.x86_64 2/4 Verifying : percona-server-server-8.0.16-7.1.el7.x86_64 3/4 Verifying : percona-server-shared-8.0.16-7.1.el7.x86_64 4/4 Installed: percona-server-server.x86_64 0:8.0.16-7.1.el7 Dependency Installed: percona-server-client.x86_64 0:8.0.16-7.1.el7 percona-server-shared.x86_64 0:8.0.16-7.1.el7 percona-server-shared-compat.x86_64 0:8.0.16-7.1.el7 Complete!

Comments

  • adliazaddinadliazaddin Entrant Current User Role Novice
    ok sorry my mistake.. it should be systemctl start mysqld
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.