Tuesday, June 22, 2021
The most important thing for most modern dynamic application these day is choosing a database to store your data. If you are on a Windows environment then you use SQL Server database that is a fine choice. But if you are on Linux MySQL is a great choice also. In this post we are going to go through how to install MySQL server on our Fedora development machine.
Here are the steps to install MySQL on Fedora Linux:
1. First we need to add the MySQL repository to our machine by tying in the following command in the terminal
sudo dnf -y install https://dev.mysql.com/get/mysql80-community-release-fc32-1.noarch
2. After the repository has been added we are now ready to install MySQL with this command sudo dnf install mysql-community-server
3. The next step is to start and enable the MySQL service with these commands
sudo systemctl start mysqld
sudo systemctl enable mysqld
4. For security reasons MySQL assigns a temporary password to the root account, you can get the temporary password with this command
sudo grep 'temporary password' /var/log/mysqld.log
Make a note of this password
5. Before first use type the following command to make the database more secure
sudo mysql_secure_installation
After typing in the command and entering the temporary password, you will be given an opportunity to set a new password for the root user, type in the password the root user. Say yes to all the prompt for y/n
6. Now we can connect to MySQL server with this command
mysql -u root -p
Enter the root password when prompted and when you are connected to MySQL type SELECT version(); to see the version
There you have it, how we have everything we need to develop our application on Fedora. I know it seems like a lot of work for very little result, but this is the nature of software development. If the repository link does not work go to this URL https://dev.mysql.com/doc/refman/8.0/en/linux-installation-yum-repo.html and install it from there
Previous: Setting Up Development Environment With .NET Core, NodeJS , VSCode and Postman
Next: Create An Asp.Net Core Web API With The Asp.Net Core CLI
that’s a nice article, thank you for a great article. It helped me a lot. Keep it up Must Visit: Dell Printer klantenservice nummer.
ReplyDeleteThat’s a nice article, thank you for a great article. It helped me a lot. Keep it up Must Visit: helpdesk Brother Printer.
ReplyDeleteThat’s a nice article, thank you for a great article. It helped me a lot. Keep it up Must Visit: Dell helpdesk bellen.
ReplyDeleteThanks for sharing such a nice info.I hope you will share more information like this. please keep on sharing!
ReplyDeleteInplant training in chennai
Inplant training in chennai for cse
Inplant training in chennai for ece
Inplant training in chennai for mechanical
Inplant training in chennai for ece students
Inplant training in chennai for eee
Inplant training in bmw chennai
Hi, I do think this is a great site. I stumbled upon it ;) I'm going to revisit once again since i have saved as a favorite it. Money and freedom is the best way to change, may you be rich and continue to help others.
ReplyDeleteNo more waste time to searching #HDimages, #PCwallpaper, #smartphone_wallpaper, #socialmedia_banner, #socialmedia_image_post, #natureHDimages, and many more awesome pictures. Just visit All Awesome Pictures Only For Love Hearts and choose your best choice.
All Awesome Pictures Only For Love Hearts
All Awesome Pictures Only For Love Hearts
All Awesome Pictures Only For Love Hearts
Amazing Article,Really useful information to all So, I hope you will share more information to be check and share here.
ReplyDeleteinternship in chennai for electrical engineering students
one month internship in chennai
vlsi internship in chennai
unpaid internship in chennai
internship for hr in chennai
internship training chennai
internship for freshers in chennai
internship in chennai for it students with stipend
internship in accenture chennai
naukri internship in chennai
Nice post! Educational content developer for K12 can face challenges while developing content, as every bit of information needs to be aligned to the learning objectives and the corresponding standards of the curriculum framework.
ReplyDeletecopy editing services
Keep up the superb piece of work, I read few posts on this web site and I believe that your blog is very interesting and holds circles of good information.
ReplyDeleteThe subsequent time I read a blog, I hope that it doesnt disappoint me as a lot as this one. I imply, I do know it was my choice to learn, however I actually thought youd have something attention-grabbing to say. All I hear is a bunch of whining about something that you could repair in the event you werent too busy in search of attention. san-wells bank
ReplyDelete