For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > March 2006 > maxdb









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author maxdb
João Cândido de Souza Neto

2006-03-16, 6:56 pm

I'm trying to use the maxdb extension in php4 but it isn't working fine.

When i tri to use the command: $connection = maxdb_connect($host, $user,
$psw, $db);

It gives me the bellow error:

Warning: maxdb_connect() [function.maxdb-connect]: -10709 Connection failed
(RTE:connection refused: x_server not running) []
in /var/www/buffets/config.php on line 3

Anyone can help me about this?

Thanks.

--
---------------------------------------------------
João Cândido de Souza Neto
Web Developer
João Cândido de Souza Neto

2006-03-16, 6:56 pm

Now i tried to use:

$connection= new maxdb($host, $user, $psw, $db);

It gives me the bellow error:

Fatal error: Cannot instantiate non-existent class: maxdb
in /var/www/buffets/config.php on line 3


João Cândido de Souza Neto wrote:

> I'm trying to use the maxdb extension in php4 but it isn't working fine.
>
> When i tri to use the command: $connection = maxdb_connect($host, $user,
> $psw, $db);
>
> It gives me the bellow error:
>
> Warning: maxdb_connect() [function.maxdb-connect]: -10709 Connection
> failed (RTE:connection refused: x_server not running) []
> in /var/www/buffets/config.php on line 3
>
> Anyone can help me about this?
>
> Thanks.
>


--
---------------------------------------------------
João Cândido de Souza Neto
Web Developer
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com