Re: [PHP-DB] MySQL CONNECTION PROblem

2003-06-10 Thread nabil
but when i used mysql_error() i got : "sorry database not found" and i have privileges in mysql/ user table .. as shown below... the point is if i changed 192.168.0.111 to localhost .. i managed to get the data ... as my dbconnect.php file includes and the user table of mysql database : # # Du

Re: [PHP-DB] MySQL CONNECTION PROblem

2003-06-10 Thread George Patterson
On Tue, 10 Jun 2003 16:47:26 +0300 "nabil" <[EMAIL PROTECTED]> wrote: > but when i used mysql_error() i got : "sorry database not found" > > as my dbconnect.php file includes > > mysql_connect("192.168.0.111" , "root" , "password") or die("SORRY > CANNOT CONNECT") ; > mysql_select_db("kt") or

Re: [PHP-DB] MySQL CONNECTION PROblem

2003-06-10 Thread nabil
but when i used mysql_error() i got : "sorry database not found" as my dbconnect.php file includes and the user table of mysql database : # # Dumping data for table `user` # INSERT INTO user VALUES ('localhost', 'root', '', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y')

RE: [PHP-DB] MySQL CONNECTION PROblem

2003-06-09 Thread John W. Holmes
> i have the dbconnect.php as : > // > mysql_connect("192.168.0.111" , "root" , "pass") or > die ("Couldn't connect to database"); > mysql_select_db("DatabaseName") or > die("sorry database not found"); > ?> > /// > when i put localhost instead of the IP address of

[PHP-DB] MySQL CONNECTION PROblem

2003-06-09 Thread nabil
i have the dbconnect.php as : // /// when i put localhost instead of the IP address of my machine (localy) i got the following error... Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\inetpub\wwwroot\kt\superv_list.php on li

[PHP-DB] mysql connection problem

2002-05-18 Thread Christian Weilbach
hi i've added a new apache 2.0.35 server with an php 4.2.0 module to my machine, but always when this php-module tries to connect my mysql server (on the same machine) this error: Host 'weilbach' is not allowed to connect to this MySQL server appears. my other apache 1.3.23 server with php 4.1.2

Re: [PHP-DB] mySQL connection problem

2001-04-29 Thread winescout
Check to see that mySQL is running on your system. On mine, when it is not, I get an error just like that. Matt ""LENNART KARLSSON"" <[EMAIL PROTECTED]> wrote in message 9cefep$4pu$[EMAIL PROTECTED]">news:9cefep$4pu$[EMAIL PROTECTED]... > Hi! > I have a problem when I try to use a mySQL connecti

[PHP-DB] mySQL connection problem

2001-04-28 Thread LENNART KARLSSON
Hi! I have a problem when I try to use a mySQL connection. I run Win98SE, PWS 4 and php4. php is working. When I try to run any mySQL scripts (v this one is a forum from planet-source-code.com) I get this error: Running: mysql_pconnect("localhost","root"); --> Warning: Can't connect to M

Re: [PHP-DB] MySQL connection problem - need help from expert

2001-03-22 Thread Ian
Thanks, Thor and Cal ; ) "Ian" <[EMAIL PROTECTED]> wrote in message 99eaaj$njn$[EMAIL PROTECTED]">news:99eaaj$njn$[EMAIL PROTECTED]... > Please help me !!! > > Description :- > Server 1 is installed MySQL which located in US. > Server 2 is

RE: [PHP-DB] MySQL connection problem - need help from expert

2001-03-22 Thread Cal Evans
ssage- From: Ian [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 7:50 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] MySQL connection problem - need help from expert Please help me !!! Description :- Server 1 is installed MySQL which located in US. Server 2 is located in Singapore, and does

RE: [PHP-DB] MySQL connection problem - need help from expert

2001-03-22 Thread Thor M. Steindorsson
ntation. So, I won't actually say it, but merely imply it... > -Original Message- > From: Ian [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 22, 2001 5:50 PM > To: [EMAIL PROTECTED] > Subject: [PHP-DB] MySQL connection problem - need help from expert > > >

[PHP-DB] MySQL connection problem - need help from expert

2001-03-22 Thread Ian
Please help me !!! Description :- Server 1 is installed MySQL which located in US. Server 2 is located in Singapore, and doesn't install Mysql. Both of them are installed PHP and Acaphe. Case:- I would like to set the server 2 connect to Server 1's MySQL database. What should I do? Thank you in