RES: [PHP-DB] PHP on Linux connecting to MS SQL
| From: | Carlos Henrique | Date: | Fri, 09 Jun 2000 16:08:53 +0000 |
| Subject: | RES: [PHP-DB] PHP on Linux connecting to MS SQL | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-292@lists.php.net to get a copy of this message | ||
Hi Eric! I am sorry, but the program that needs X server is srvbuild which I
run after installing the package (sybase account profile, as said in docs).
Thats the message:
Do you want to start 'srvbuild' now? [y/n]: y
_X11TransSocketUNIXConnect: Can't connect: errno = 111
Unable to open X display. Check the value of your $DISPLAY variable. If it
is
set correctly, use the 'xhost +' command on the display machine to authorize
use of the X display.
I cant run sybinit because it´s not at the /opt/sybase/install dir. Whats
wrong with that srvbuild or with my installation? The packages were
downloaded from sybase.com and the version is 11.9.2
Thanx again
Carlos
[root@vulcan /root]#
-----Mensagem original-----
De: Ulrich, Eric J [mailto:eric.j.ulrich@intel.com]
Enviada em: sexta-feira, 9 de junho de 2000 12:49
Para: 'Carlos Henrique'
Assunto: RE: [PHP-DB] PHP on Linux connecting to MS SQL
sybinit does not need X to run. I don't believe the interfaces file likes
being edited manually. Step by step:
1. cd /opt/sybase/install
2. ./sybinit
3. (In sybinit) option 2 to Edit / View Interfaces file
Good luck
Eric Ulrich
-----Original Message-----
From: Carlos Henrique [mailto:carlos@ifx.com.br]
Sent: Friday, June 09, 2000 7:54 AM
To: php-db@lists.php.net
Subject: RES: [PHP-DB] PHP on Linux connecting to MS SQL
Hi! I'm trying to setup the same environmnet of Sarah and Brian. But I
cannot setup the sybase to make the php find the servers. I cant run sybinit
because it need to start de x server and I dont have it on that machine. How
can I do all the steps manually, configure the interface file and so on...
thanx in advance!
Regards,
Carlos
-----Mensagem original-----
De: Brian Neal [mailto:aceface@bellsouth.net]
Enviada em: sexta-feira, 9 de junho de 2000 05:26
Para: skerr@bellanet.org
Cc: php-db@lists.php.net
Assunto: Re: [PHP-DB] PHP on Linux connecting to MS SQL
$dbserver should not be the actual network hostname, but the database server
name listed in your Sybase interfaces file (look in the $SYBASE directory).
-Brian
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net