Hello,
I have two laptop computers, which are both part of a local network.
I have installed XAMPP on both lappys(both running windows 7),
What i want is that i want to create my database on one lappy....and then use it from the other lappy....???
What is going to be my connection string : ??
$dbhost = ""; ????????????
$dbuser = "";????????
$dbpass = ""; ??????????
what should i supply for these???
generally i used to give the following values if the database was and the php script were on same machine...
$dbhost = "localhost";
$dbuser = "root";
$dbpass = "";
it doesn't work ...if give the local ip address of my other lappy....
$dbhost = "192.168.1.10";
$dbuser = "root";
$dbpass = "";
Please Help....
Using PHPMYADMIN
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Using PHPMYADMIN
The IP address should work if the laptops and MySQL are configured correctly. Is that the correct IP and does the second laptop have access to it? Is the MySQL user root have access granted from the second laptop?
(#10850)