F5F Stay Refreshed Software Operating Systems Creating a MySQL server involves setting up the database engine and configuring its environment.

Creating a MySQL server involves setting up the database engine and configuring its environment.

Creating a MySQL server involves setting up the database engine and configuring its environment.

F
Funny_KunG
Junior Member
19
11-15-2023, 11:29 AM
#1
I'm going to be honest, I need to set up a shell script that will download, configure, compile, and install MySQL. This part is confusing because I thought I'd just run it in the terminal first and then adjust it. Are they testing me, or is this actually the right order? I'm unsure what exactly needs to be configured. Based on what I understand, I should prepare the server setup after compiling and installing it. Do you think it's realistic with some general programming skills but very little Linux or SQL experience? It should work on any Unix-like system, which is the least of my concerns right now. Any advice would be appreciated—I'm not naive, but I just want to make sure I'm on the right track.
F
Funny_KunG
11-15-2023, 11:29 AM #1

I'm going to be honest, I need to set up a shell script that will download, configure, compile, and install MySQL. This part is confusing because I thought I'd just run it in the terminal first and then adjust it. Are they testing me, or is this actually the right order? I'm unsure what exactly needs to be configured. Based on what I understand, I should prepare the server setup after compiling and installing it. Do you think it's realistic with some general programming skills but very little Linux or SQL experience? It should work on any Unix-like system, which is the least of my concerns right now. Any advice would be appreciated—I'm not naive, but I just want to make sure I'm on the right track.

_
_ImDustin
Member
230
12-03-2023, 08:39 PM
#2
The MySQL documentation is a useful reference: https://dev.mysql.com/doc/mysql-sourcebu...ution.html You should identify your Linux distribution and the purpose of the server to proceed.
_
_ImDustin
12-03-2023, 08:39 PM #2

The MySQL documentation is a useful reference: https://dev.mysql.com/doc/mysql-sourcebu...ution.html You should identify your Linux distribution and the purpose of the server to proceed.

T
ThatOneGuy14
Member
157
12-06-2023, 05:36 PM
#3
Yes, it can be scripted quite easily. Configuration is the obvious next step, but depending on who asked you to do this it may not be your job to configure the server. Regardless, there isn't much configuring you can do without a list of requirements.
T
ThatOneGuy14
12-06-2023, 05:36 PM #3

Yes, it can be scripted quite easily. Configuration is the obvious next step, but depending on who asked you to do this it may not be your job to configure the server. Regardless, there isn't much configuring you can do without a list of requirements.

L
legomaster1027
Junior Member
2
12-06-2023, 10:01 PM
#4
It isn't meant for real deployment, so I'm unsure how much it affects the setup. The task seems unclear to me. My main concern is whether orders should be configured before installation. I should expect a sequence like download, compile, install, and then configure. Could the steps be rearranged?
L
legomaster1027
12-06-2023, 10:01 PM #4

It isn't meant for real deployment, so I'm unsure how much it affects the setup. The task seems unclear to me. My main concern is whether orders should be configured before installation. I should expect a sequence like download, compile, install, and then configure. Could the steps be rearranged?

D
Devon_playz
Member
131
12-12-2023, 06:12 PM
#5
I don't rely on MySQL or Bash commands. This succeeded on my Ubuntu system as explained by Gardening with that link. You can download it from the provided URL and extract it using the steps mentioned.
D
Devon_playz
12-12-2023, 06:12 PM #5

I don't rely on MySQL or Bash commands. This succeeded on my Ubuntu system as explained by Gardening with that link. You can download it from the provided URL and extract it using the steps mentioned.

S
Sav4n_Gamer
Junior Member
8
12-27-2023, 05:00 AM
#6
Some settings are accepted. For compiling programs from source on *nix you set the desired options during compilation. You must obtain the files—either by downloading them with wget and extracting, or by cloning a repository. After that, execute the configure or cmake command with any needed environment variables, then run make to build it, followed by make install to place it. The final application tweaks like ports, sockets, user details, logging, and connection limits are usually handled in a config file such as my.conf. For MySQL specifically, you can find detailed cmake configuration choices here: https://dev.mysql.com/doc/refman/5.5/en/...tions.html. These options cover aspects like zlib support, storage engines, SSL, and installation paths.
S
Sav4n_Gamer
12-27-2023, 05:00 AM #6

Some settings are accepted. For compiling programs from source on *nix you set the desired options during compilation. You must obtain the files—either by downloading them with wget and extracting, or by cloning a repository. After that, execute the configure or cmake command with any needed environment variables, then run make to build it, followed by make install to place it. The final application tweaks like ports, sockets, user details, logging, and connection limits are usually handled in a config file such as my.conf. For MySQL specifically, you can find detailed cmake configuration choices here: https://dev.mysql.com/doc/refman/5.5/en/...tions.html. These options cover aspects like zlib support, storage engines, SSL, and installation paths.