• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

Sign in to follow this  

Simple programming question.

Recommended Posts

deep1234    1

Hello guys.

 

Let say I have a two Ubuntu Linux servers. One is the database and the second is WordPress (PHP). Suppose that I know lets say Python. Can I make a new server and connect to the same database and do some work on it without effecting the WordPress?

 

Thanks, 

Share this post


Link to post
Share on other sites
+Majesticmerc    872

I think it depends on what you want to do. If you want to edit the WordPress database directly, you may end up impacting your WordPress by changing data. If you create a second database on the database server, the databases won't interfere with each other.

Share this post


Link to post
Share on other sites
+DevTech    1,178
On 5/1/2018 at 5:57 AM, deep1234 said:

Hello guys.

 

Let say I have a two Ubuntu Linux servers. One is the database and the second is WordPress (PHP). Suppose that I know lets say Python. Can I make a new server and connect to the same database and do some work on it without effecting the WordPress?

 

Thanks, 

 

If you have control of the 3 servers, you can do anything you want. You can install a variety of OSS DB software such as Neo4j, Apache Giraph, Apache Ignite, Maria DB, Cassandra, CarbonData, Apache Arrow, InfluxDB, Presto DB, Vitess, etc etc

 

At the opposite end, if you are using some sort of hosting plan with one free database plan provided then you may not even be able to make a separate database within the typical cheapo MySQL hosting plan usually included. In that case you need to make new SQL Tables with names that won't conflict with Wordpress.

 

Other side effects would be performance issues if your servers  have any real world usage load.

 

FWIW, nobody designs software applications around servers anymore - find hosting that is  based on Docker Containers for fine grained control, and there is even a growing trend to Serverless Architectures, for example OpenFAAS

Share this post


Link to post
Share on other sites
Shiranui    1,808

As long as you know the difference between a database and a table, you should have no problems.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.