+ 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?
7 ответов
+ 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
+ 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';
+ 1
Guillem Padilla should wampserver be install in both computers for database communication between the two?
+ 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
+ 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..
+ 1
Guillem Padilla thanks you very much..
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