Comments - Installing MariaDB With the rpm Tool

10 years, 1 month ago Ping Pong
This comment has the status of 'removed' and can only be seen by you.

I installed it by running below, but I have problem starting it. Detailed info is shown at the bottom.

  1. sudo yum install MariaDB-server MariaDB-client ...

Running Transaction Installing : perl-DBI-1.609-4.el6.x86_64 1/5 Installing : MariaDB-compat-10.0.8-1.x86_64 2/5 Installing : MariaDB-common-10.0.8-1.x86_64 3/5 Installing : MariaDB-server-10.0.8-1.x86_64 4/5 chown: invalid user: `mysql:mysql' chown: invalid user: `mysql' Cannot change ownership of the database directories to the 'mysql' user. Check that you have the necessary permissions and try again. chown: invalid user: `mysql:mysql' Installing : MariaDB-client-10.0.8-1.x86_64 5/5 Verifying : MariaDB-common-10.0.8-1.x86_64 1/5 Verifying : MariaDB-compat-10.0.8-1.x86_64 2/5 Verifying : MariaDB-server-10.0.8-1.x86_64 3/5 Verifying : MariaDB-client-10.0.8-1.x86_64 4/5 Verifying : perl-DBI-1.609-4.el6.x86_64 5/5

Installed: MariaDB-client.x86_64 0:10.0.8-1 MariaDB-server.x86_64 0:10.0.8-1

Dependency Installed: MariaDB-common.x86_64 0:10.0.8-1 MariaDB-compat.x86_64 0:10.0.8-1 perl-DBI.x86_64 0:1.609-4.el6

Complete!

[root@localhost yum.repos.d]# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")

[root@localhost yum.repos.d]# /sbin/service mysql start Starting MySQL... ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid).

[root@localhost yum.repos.d]# /sbin/service mysql status ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists [root@localhost yum.repos.d]#

Any idea

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.