Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I've done these commands:

$ sudo yum install mysql
$ mysql_secure_installation
$ sudo service mysqld start
$ sudo service mariadb start

yum installs fine, but when I try to start the services or do the secure install, it fails... Any tips? Full terminal log below. System is a fresh install of Fedora 19, with the latest updates.

[vrwim@localhost ~]$ sudo yum install mysql
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package mariadb.i686 1:5.5.33a-1.fc19 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch         Version                     Repository       Size
================================================================================
Installing:
 mariadb         i686         1:5.5.33a-1.fc19            updates         8.8 M

Transaction Summary
================================================================================
Install  1 Package

Total download size: 8.8 M
Installed size: 47 M
Is this ok [y/d/N]: y
Downloading packages:
mariadb-5.5.33a-1.fc19.i686.rpm                            | 8.8 MB   00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:mariadb-5.5.33a-1.fc19.i686                                1/1 
  Verifying  : 1:mariadb-5.5.33a-1.fc19.i686                                1/1 

Installed:
  mariadb.i686 1:5.5.33a-1.fc19                                                 

Complete!
[vrwim@localhost ~]$ mysql_secure_installation
bash: mysql_secure_installation: command not found...
[vrwim@localhost ~]$ sudo service mysqld start
Redirecting to /bin/systemctl start  mysqld.service
Failed to issue method call: Unit mysqld.service failed to load: No such file or directory. See system logs and 'systemctl status mysqld.service' for details.
[vrwim@localhost ~]$ sudo service mariadb start
Redirecting to /bin/systemctl start  mariadb.service
Failed to issue method call: Unit mariadb.service failed to load: No such file or directory. See system logs and 'systemctl status mariadb.service' for details.
share|improve this question
add comment

1 Answer

$ sudo yum install mariadb-server

was what I needed. This works, now I can start the service

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.