Ask Your Question
0

how to install mysql/oracle 10g in fedora

asked 2014-07-09 09:19:31 -0500

SDas gravatar image

I want to learn SQL so I need to install mysql/oracle how to do it and after that how to install and run it help me in brief.

edit retag flag offensive close merge delete

Comments

mysql and oracle database are entirely different products that probably have different installation procedures. Also, it doesn't appear that you have attempted to do any kind of reading for yourself about this; that's not a good way to learn, and it's not a good way to get the best results from Ask Fedora. Please be more specific about what you want to do, what you have already done, and what problems you've encountered using existing documentation.

randomuser gravatar imagerandomuser ( 2014-07-09 10:52:03 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-07-11 01:09:18 -0500

abadrinath gravatar image

updated 2014-08-14 05:24:28 -0500

In my opinion, MariaDB is a better version of MySQL itself. It incorporates the good features of MySQL, and removes the not-so-good features. To install and run:

yum install mariadb && systemctl start mariadb

If you already have a MySQL up and running, consider this command:

sudo yum erase mysql; sudo yum erase mariadb; sudo yum clean all; sudo yum autoremove; sudo yum install mariadb

It will remove MySQL, remove MariaDB (just for cleaning up, this is optional), clean the repositories, autoremove orphaned packages, and finally reinstall MariaDB. This will pose as a fresh install, all components of MySQL will be safely removed. As described in the comments, this command has worked successfully for one person, so it should work for everyone!

How to install oracle (harder): http://www.oracle-base.com/articles/11g/oracle-db-11gr2-installation-on-fedora-17.php

HTH.

edit flag offensive delete link more

Comments

My sql doesn't worked

SDas gravatar imageSDas ( 2014-07-15 13:51:50 -0500 )edit

Output? It works for me all right...

abadrinath gravatar imageabadrinath ( 2014-07-16 01:16:09 -0500 )edit

Redirecting to /bin/systemctl start mysql.service Failed to issue method call: Unit mysql.service failed to load: No such file or directory. See system logs and 'systemctl status mysql.service' for details.

is the error I am facing after sudo service mysql start

SantoshHoropter gravatar imageSantoshHoropter ( 2014-08-08 06:16:16 -0500 )edit

Sorry, typo, try mysqld instead of mysql. Edited.

abadrinath gravatar imageabadrinath ( 2014-08-08 23:18:04 -0500 )edit

Which Fedora version are you running? On Fedora 20 you have to install MariaDB instead of MySQL: - install: yum install mariadb mariadb-server - start: systemctl start mariadb.service - autostart: systemctl enable mariadb.service

fale gravatar imagefale ( 2014-08-09 03:53:42 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-07-09 09:19:31 -0500

Seen: 402 times

Last updated: Aug 14 '14