How to create a shared database for users for different systems to connect to a single database in another system.?

0 votes
Hi, I'm using xampp to create my semester project, I need my friends to access the same database that I have on my laptop, is there a way to do that. Or I to need to have the same database in all the systems. We have the same PHP code for us to display our project. Urgent help required. Can anyone help?

Thanks in advance.
Mar 16 in Database by anonymous
62 views

2 answers to this question.

0 votes
You can do both. If all the laptops are in the same network, then you can access the database using the IP address of the laptop that has the database. You can also enable remote access on xampp.

Suppose the laptops are not in the same network, then you can log in to xampp and export the database and copy that file to other laptops. Now your friends will be able to use the same database.
answered Mar 18 by Omkar
• 67,460 points
0 votes
Like Omkar said, while presenting your project to your Professor, you can probably have just 1 database in your laptop and all your friends can connect to it since you'll be connected to the same network. But, if you guys are planning to access it remotely from your house, then you'll not be able to access it.
answered Mar 18 by Vardhan
• 12,520 points

Related Questions In Database

0 votes
1 answer

How to connect to MySQL Database?

using MySql.Data; using MySql.Data.MySqlClient; namespace Data { ...READ MORE

answered Oct 12, 2018 in Database by Frankie
• 9,810 points
91 views
0 votes
1 answer

How to schedule a job for SQL query to run daily?

down voteaccepted Expand the SQL Server Agent node ...READ MORE

answered Oct 25, 2018 in Database by Frankie
• 9,810 points
54 views
0 votes
1 answer

How to cache data in a MVC application?

Reference the System.Web dll in your model ...READ MORE

answered Oct 25, 2018 in Database by Frankie
• 9,810 points
206 views
0 votes
1 answer

How to display the queries executed by a particular user in MySQL?

From the version 5.1.7 onward, MySQL allows ...READ MORE

answered Mar 7 in Database by Mishti
• 480 points
38 views
0 votes
1 answer

How to load data of .csv file in MySQL Database Table?

At first, put the dataset in the ...READ MORE

answered Jul 5 in Database by Reshma
54 views
0 votes
1 answer

Why is not preferable to use mysql_* functions in PHP?

The reasons are as follows: The MySQL extension: Does ...READ MORE

answered Sep 7, 2018 in Database by DataKing99
• 8,130 points
42 views
0 votes
1 answer

Find values in a comma separated string in a MySQL query

You can add commas to the left and ...READ MORE

answered Sep 10, 2018 in Database by darklord
• 6,140 points
1,906 views
0 votes
1 answer

How to do a batch insert in MySQL

You can try out the following query: INSERT ...READ MORE

answered Sep 10, 2018 in Database by darklord
• 6,140 points
238 views
0 votes
1 answer
0 votes
2 answers

MySQL "Could not create connection to database serve" error

When I am trying to connect netbeans ...READ MORE

answered Apr 14 in Database by anonymous

edited Apr 15 by Kalgi 1,670 views