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
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
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')
> 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
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
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
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
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
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
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
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
>
>
>
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
12 matches
Mail list logo