+ 1

Hi.. Please is it possible to share the same database in wampserver between two computers connected locally ?

that is, i have a database in wampserver phpmyadmin installed in a computer. and i have a window application connected to the database. so i have a second computer connected to the first computer via cable and i want it to access the database in wampserver in the other computer to whom its connected to. how can i do it please?

25th Jul 2018, 5:34 AM
ABDOUL RAHIM NDANE PECHOU
ABDOUL RAHIM NDANE PECHOU - avatar
7 Respuestas
+ 3
Hi, can you simply connect the second computer to the network and make a mysql connection using as server parameter the first computer IP Hope it helps you
25th Jul 2018, 6:04 AM
Guillem Padilla
Guillem Padilla - avatar
+ 3
It may be that your mysql allows only localhost connections. If that’s so you need to add privileges to your ip address which is not recommended. GRANT ALL PRIVILEGES ON database_name.* TO 'user'@'192.168.1.110';
25th Jul 2018, 10:05 AM
Toni Isotalo
Toni Isotalo - avatar
+ 1
Guillem Padilla should wampserver be install in both computers for database communication between the two?
25th Jul 2018, 1:38 PM
ABDOUL RAHIM NDANE PECHOU
ABDOUL RAHIM NDANE PECHOU - avatar
+ 1
ABDOUL RAHIM NDANE PECHOU No, wampsever is used only in the computer where you hosts de dstabase and websites, the other computer just need to connect to the computer which have wampserver installed
25th Jul 2018, 1:41 PM
Guillem Padilla
Guillem Padilla - avatar
+ 1
Guillem Padilla so as you say.. i have to use the server computer ip adress in the second computer to gain access.. will I have access to phpmyadmin.. also if you have any link to a website that can help me to better understand the process. I will Be happy have it..
25th Jul 2018, 1:48 PM
ABDOUL RAHIM NDANE PECHOU
ABDOUL RAHIM NDANE PECHOU - avatar
+ 1
Guillem Padilla thanks you very much..
25th Jul 2018, 1:53 PM
ABDOUL RAHIM NDANE PECHOU
ABDOUL RAHIM NDANE PECHOU - avatar
0
Sure, If you have access (you have to change apache config from wamp) from one computer to another you just have to put the server ip/phpmyadmin in the browser. Try this.. https://stackoverflow.com/questions/16813138/how-connect-to-phpmyadmin-from-other-hosts?rq=1
25th Jul 2018, 1:52 PM
Guillem Padilla
Guillem Padilla - avatar