Jump to content

Installing PHP on host via LAN, other than localhost


Recommended Posts

Hi

 

I have a LAN network at my office, i am using wamp server for running php scripts, now i have made a system as a server, of which, ip is 192.168.1.130.

I want to use its mysql on all the systems on lan. But when i write mysql_connect("192.168.1.130,"root",""); It gives the error that 10061, cant connect to mysql server etc.

 

I wana ask, how to use the mysql of one machine on other machine.

 

Right now i am running those files in my wamp on local machine, and i want to connect to the mysql of 192.168.1.130, what should i have to do?

 

I am using wamp server, remember!

 

Regards

Atif

Intelliscence

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.