How can I telnet from my windows XP machine to my Ultra 60 and run firefox? I am unable to open the display using /usr/openwin/bin/xhost like I do from one Sun machine to another? Thanks (2 Replies)
I am a dba, not an sa, that recently had to take over administering an HP-UX server. Needless to say I am not in a comfortable area, but found out that of all people I am the most knowledgeable on unix here .... scary thought I know.
I am having troubles exporting my display to a Windows XP... (5 Replies)
I am trying to install ORACLE 10g database on HP-UNIX 11.11
I am running OUI runinstaller from exceed terminal from windows PC. I have
set DISPLAY=IPAddress of PC:0.0
When installer starts it is giving me error of display (5 Replies)
I am trying to do something on another computer through ssh and I keep getting this:"(gedit:6169): Gtk-WARNING **: cannot open display:"I have googled the interweb and this forum and found many posts but nothing seems to work. I have freshly installed Ubuntu 8.10 with updates on the machine and I... (4 Replies)
Greetings Forumers!
I'm posting a solution to an Issue I ran into this week: Getting applications to display on another through X11 and SSH. I have run into this issue many years ago and finally found my notes. Some of you may already know the answer to this issue but it took me a while to... (1 Reply)
I'm trying to connect to my linux server but I'm having some major problems. The server had OEL 5 installed and my local pc is running Windows XP. I'm using PuTTy to connect to the server with Xming running on my loacl machine. I login as root and run the following command -
export... (5 Replies)
Dear all,
I try to run smc but i have the below message :
It appears you are attempting to run the graphical
Solaris Management Console from a terminal which does
not have a suitable 'DISPLAY' environment. Please check
your 'DISPLAY' settings and that the user identity of
this terminal... (1 Reply)
I am trying to direct a AIX display to my XWindows and I am at a dead end now!
So this what I've done so far:
1. In putty settings, I set "Enable X11 forwarding" and also set "X diplay location" to "localhost:0" (without quotes, of course)
2. Via putty, connected to my AIX server
3. On... (1 Reply)
Error message:
(PMT:6498): Gtk-WARNING **: cannot open display:
How to solve this issue in linux? (1 Reply)
Discussion started by: vinayd
1 Replies
LEARN ABOUT PHP
maxdb_connect_error
MAXDB_CONNECT_ERROR(3) 1 MAXDB_CONNECT_ERROR(3)maxdb_connect_error - Returns a string description of the last connect errorSYNOPSIS
string maxdb_connect_error (void )
DESCRIPTION
The maxdb_connect_error(3) function is identical to the corresponding maxdb_connect_errno(3) function in every way, except instead of
returning an integer error code the maxdb_connect_error(3) function will return a string representation of the last error to occur for the
last maxdb_connect(3) call. If no error has occurred, this function will return an empty string.
RETURN VALUES
A string that describes the error. An empty string if no error occurred.
EXAMPLES
Example #1
maxdb_connect_error sample
<?php
$link = maxdb_connect("localhost", "nonexisting_user", "");
if (!$link) {
printf("Can't connect to localhost. Error: %s
", maxdb_connect_error());
}
?>
The above example will output something similar to:
PHP Warning: maxdb_connect(): -4008POS(1) Unknown user name/password combination <...>
Can't connect to localhost. Error: POS(1) Unknown user name/password combination
SEE ALSO maxdb_connect(3), maxdb_connect_errno(3), maxdb_errno(3), maxdb_error(3), maxdb_sqlstate(3).
PHP Documentation Group MAXDB_CONNECT_ERROR(3)