Why do databases create operating system users on Linux? [closed] - mysql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 2 years ago.
Improve this question
I opened my /etc/passwd file only to find that all databases i have installed have created a user during their installation. Why do databases when installed (at least on Linux) create a user? What purpose does it serve?

It is dangerous to run software as root, because any security breach would give the attacker control over the machine. Also, bugs in the software could cause more damage.
For that reason, software only runs as root when that is absolutely required. With databases, there is no such requirement.
Therefore, the installation packages will normally create an operating system user that is used to run the database server processes. If there is also a database user of the same name, that is mostly by accident, or because it seemed like a natural choice.

Related

Open Source JSON log viewer for remote files [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am using bunyan to log a nodejs app on my ubuntu server. As a result, I get JSON logs.
I tried to find a tool which I can run on my windows computer which connects like every 5 sec via FTP to my ubuntu server, gets the latest log lines from the log, and displays the updated log in a nice way on my windows machine.
I thought this must be really easy to find, but I found nothing.
Can anyone recommend me something useful?
https://github.com/sevdokimov/log-viewer can help. You can install it on the ubuntu server, specify the path to log files in the configuration, then observe logs via Web interface.
UI will not look nice for JSON logs, but I can improve it in the next version.

Simple LAN Base Offline Webpage for keep recording of Data [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I don't have much knowledge about servers or anything this all but have little base knowledge about HTML or LAN Networking.
As i mention in Title. I just want one simple web-page for entry our data, such as call time, location, description, caller and receiver and i know this all can do thru HTML base webpage design but what i want is share that web-page thru LAN (Not Online) for key-in 3-4 persons in different computer. What type of software (Application) i have to use and the setup.
I have a 5 PC Connected with LAN with main PC (normal windows 7 but if need can change as Server also) and i just want Web-Page or HTML Page all data store and share from the Main PC to others workers PC.
Thank You in Advance for your Amazing Answer :)
In order to achieve your goal you need to set up a server environment on your computer. The best way to do it worry free would be to use an already bundled server like XAMPP.
It's very easy to host website on xampp server by following those steps.
Install xampp in your computer/server
Place web pages in xampp servers htdocs folder
To make default path of the server edit configuration of xampp and
submit path of your web folder
Now start apache (and mysql if needed) and try to run localhost/yourwebdirectory
once run without error your server is running fine. You can also run it by using your network IP.
Now check firewall and allow port 80 (If you require database, setup port 3306 as well)
If you ever want to make it public, you can use a no-ip domain and point that to your IP Make sure the firewall allow public access.

How to get home server to display content from home network externally? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I've set up a home server with Apache Web Server on Ubuntu 16.04. I'm able to see my website externally. But I'm unable to display a video stream that's on my local network on the website.
How would I configure Apache to recognize http://192.168.1.215:8081 and allow it to be shown externally?
Not a programming question, but you would need to setup a forward in your router.
If your IP Address allocated by ISP can be accessed on the Internet(NOT behind a NAT):
Setup port-forwarding on your router
(optional) Use an available port. (if some are filtered or blocked by ISP)
(optional) Use DDNS if your address is not fixed like a regular server.
If not:
You must have a server as "Springboard" which can be accessed on Internet, then SSH -R can be used for forwarding a local port behind NAT to remote.

ClearDB MySQL Installation on Heroku Asking for Account Verification [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I have deployed my current Laravel project on Heroku. My local database is MySQL. As Heroku does not support MySQL directly, I need to install ClearDB MySQL addon. When I run heroku addons:create cleardb:ignite in my Heroku CLI, it gives the following message:
> Please verify your account to install this add-on plan (please enter a
> credit card)
Is this verification a must?
Can anyone help me install this addon free!
I was also stuck in this barrier and found this question unanswered, you may have realized that is not possible to add most of the addons without billing information. The reasons is hidden stated in the documentation about Account Verification:
When is verification required?
You must verify your account if you, or collaborators of your app, want to:
Use more than one dyno in the app.
Add any add-on to the app, even if the add-on is free. The only exceptions to this are the free plans for the Heroku Postgres and Heroku Connect add-ons, which can be added without verification.
Add a custom domain to the app.
Receive the transfer of an app that has paid resources.
Exceed default one-off dyno limits on the app.
Have more than 5 apps at a time. Verified accounts may have up to 100 apps.
It also says that verifying an account means that you MUST add a credit card.
You cannot use add-ons without a credit card on Heroku. This to prevent creation of many accounts only to get many free add-ons.

MySQL changed password not working [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I needed to change mysql root password on host localhost, 127.0.0.1 and %. Locally, in the server I can login with the new password. But on remote machines this isn't the case. I tried entering the old password and it logs in. What's the cause for this??? anyone
I double checked and is the same mysql server instance... MySQL is running on a Linux Fedora installation
Logins from remote clients are authenticated based on the credentials that you define in the privileges. The root password is only used to authenticate the root user.