Using PHPMYADMIN
Posted: Fri Apr 09, 2010 5:08 pm
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....
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....