How to install MySQL on Linux server (an instruction)


+1 vote
Good day to you!

Please, post a detailed instruction on how to install MySQL on Linux. What is necessary for doing that? Which problems may I face?
asked Sep 12, 2016 in System administration by Andrea

11 Answers

0 votes

Hello!
Installing MySQL on a Linux server – is a very simple procedure, which won’t take you longer than 5 minutes (including after-installation setting).

Before installing MySQL

  1. The latest versions of MySQL by Oracle Company cannot boast either operating speed or stability; however, there is an excellent substitution – MariaDB. This is a free instance of MySQL, from the author of MySQL, fully compatible with MySQL. If you have no special reasons for installing MySQL by Oracle itself, then, I recommend you installing MariaDB. We have a detailed article on installing MariaDB: How to install MariaDB on Linux server - a guide.
  2. In case you require a server with Apache+PHP+MySQL, there is no need to install MySQL separately. Install Webmin all at once, and in about 5-10 minutes you will get a ready server for web hosting or programming. You will find more details in our article: How to install Webmin and Virtualmin on any Linux server.
  3. If you haven’t chosen a server yet, I recommend using affordable and high quality virtual servers by DigitalOcean. A minimal server costs 5$ per month, you will be given 10$ as a gift for registration (proceed to DigitalOcean hosting).

Installing MySQL

The instruction is sized for Linux distro CentOS, but will be suitable for many others as well. Why CentOS? It’s solid, reliable and free – which makes it perfect for web servers.

 1. Run a command:

yum install mysql-server

Installing MySQL in a process

The YUM packet manager will offer you to install MySQL server itself and supporting software. Reply “y” and click Enter button.
 

2. Installation will take a few seconds; MySQL server, libraries and client will be installed. If you require additional libraries, for example, PHP support – you can install them separately: 

yum install php-mysql

That’s it, MySQL has been installed, now you can perform its initial setting.
 

3. To define or alter root password for MySQL, run a special script:

/usr/bin/mysql_secure_installation

Follow the instructions, everything is quite simple there.


If you have any questions or need more details – please, ask a question or leave a comment. I always will be pleased to help you!

answered Sep 12, 2016 by Expert Brian (5,410 points)
0 votes
Vermox Otc Or Rx Buy Doxycycline Online Canada  [url=http://dan5325.com]viagra[/url] Buy Accutane Mexico What Are The Side Effects Of Zithromax Online Propecia Rx
answered Oct 27, 2019 by Ellgala
0 votes
[url=http://cialisn1p.com]generic cialis[/url]
answered Dec 18, 2019 by StewartHow
0 votes
[url=http://albuterold7l.com/]buy albuterol[/url] [url=http://allopurinold6j.com/]allopurinol online[/url] [url=http://ventolin0i0.com/]buy ventolin[/url]
answered Dec 26, 2019 by Brettaccok
0 votes
Inner parts  makeovers, General  development-- services that  are actually  delivered by  several  associations in  New york.  However our  provider remains the market  forerunner for  several years. On our account, a huge number of examples of cooperation  along with both individuals  as well as legal entities. [url=https://grandeurhillsgroup.com/]hospitality interior design[/url]
 
 Top quality Interior renovators  are actually not  merely an  assets, it is an  financial investment that  boosts the  capability  as well as comfort of  any kind of room - a cottage, office,  apartment or condo, townhouse. To  make hospitality interior design  skillfully and competently, it  is crucial to  utilize  tested  as well as exceptionally  audio  products that  adhere to all norms  and also  technological standards. But the  primary  subtlety  is actually  certainly not  also in the  products, but in how  as well as  just how  the right way they are used. And this  is actually the  job of the masters. Professional  abilities  are actually an  exceptionally  vital  situation.  Just  through this approach  can easily  company  inner parts  makeover  be actually  applied as  planned.
 
The  provider  executes interior  improvements NY  flats,  properties, rooms, administrative  and also commercial  areas in NY on a turn-key  manner at  reasonable prices.  Resorting to  our team, you  receive Interior renovators NYC  along with a  assurance of  excellent quality,  quick  due dates for  repair work,  dependability  and also  capability of  indoor  remedies.
answered Jan 2 by WilliamBuilk
0 votes
home hair remedies  [url=http://reductil.forumcrea.com]http://reductil.forumcrea.com[/url]  chinese herbal teas
answered Jan 8 by Travistwini
0 votes
Need Prescription Amoxicillin Isotretinoin 10mg overseas low price Baisse Prix Kamagra  [url=http://cialibuy.com]Cialis[/url] On Line Acticin Real Cash Delivery Without Rx Achat Tadalis Sx
answered Jan 12 by Ellgala
0 votes
Congratulations and Happy New Year 2020!
You can claim $1,600 FREE if you win: http://win-1600-dollars.edarling.best/
answered 6 days ago by GamerVex
0 votes
Здравствуйте, хочу поинтересоваться где вы отдыхаете? Собрались с друзьями попутешествовать и прочитали на [url=https://www.baby-country.ru/forum/topic.php?forum=20&topic=15450&postid=1558938418#1558938418]сайте[/url] рекомендации по отдыху. Вообще предпочитаем слетать к морю в Европу например в Испанию, Италию или Египет. Посоветуйте где сейчас предпочтительнее провести отдых?
answered 2 days ago by Arinaisom
0 votes
car loans <a href="https://paydailoanz.com">payday loans</a> home loansusda home loans [url=https://paydailoanz.com]personal loans[/url]  home equity loans https://paydailoanz.com - loans
answered 1 day ago by whrzueRoopy
Welcome to Help Desk, here you can ask any questions and receive answers from our experts and other members of the community.

If you have any questions, please do not hesitate to contact our help desk!

Make a question!